2 is the slope so the slope perpendicular to that is -1/2 (negative reciprocal)
-5=-1/2(9) 9*-1/2=-4.5 and -4.5 - 0.5 = -5 so the equation for the line is y=-1/2x -0.5
in the equation as we can say x= 2y-10.
so, substitute x=2y-10 everywhere then the x in 1240 gets cancelled with 2y-10 then solve the remaining you will get 4y-20+3y=1240
7y=1260
y=1260/7
y=180
then substitute the value of y everywhere
2x+3y=1240
2x+3(180)=1240
2x=1240-540
2x=700
x=350
DONE.
Rotation counterclockwise 90 degrees has the rule
(x,y) -> (-y,x)
So the image is obtained, according to the rule,
(2,3) -> (-3,2)