Given the point (-3,1)
which is reflected in the line x = 2
The distance of the object from the point of reflection should be the same as the distance of the reflected image from point of reflection.
The point (-3,1) if reflected over the line x = 2 will give (7, 1)