Find an equation for the perpendicular bisector of the line segment whose endpoints are (1,7) and (-9,-1).