Answer: The value of x is -5 and the value of y is 5.
Step-by-step explanation:
The slope of the line is
and the point is (-2,5) from which the line line is passing.
If a line is passing through the point
with slope m, the the equation of line is,



..... (1)
It is given that the point A(x,3) and B(-2,y) lies on the line. It means it satisfies the equation of the line.
Put y=3 in equation (1).


The value of x is -5.
Put x=-2.




The value of y is 5.