Step-by-step explanation:
Hey there!
The given points are; (2,2) and (5,y).
Slope (m) =2
Using formula for slope, we get;
[tex]m = \frac{y2 - y1}{x2 - x1} [/tex]
Put all values.
[tex]2 = \frac{y - 2}{5 - 2} [/tex]
Simplify it to get value of"y".
[tex]2 = \frac{y - 2}{3} [/tex]
[tex]6 = y - 2[/tex]
[tex]y = 6 + 2[/tex]
Therefore, y= 8.
Hope it helps...