Find the equation of the perpendicular bisector of the given segment by following these steps.

1. Determine the slope of the given segment.

2. Calculate the midpoint of the given segment.

3. Determine the slope of the perpendicular line.

4. Use the slope and midpoint to write the equation of the perpendicular bisector.