The equation of the perpendicular bisector of the line joining two points A and B is given by y=x+1. Find the coordinates of A, if B has coordinates of (-2,5)

a) (2,1)
b) (4, -1)
c) (-1,4)
d) (1,2)