Answer:
y=x+3
Explanation:
The equation of a line slope-intercept form is
where m is the slope and b is the y- intercept to calculate m use the gradient formula
m=

⇒ m=

⇒y=x+b←is the partial equation to find b subtitute either of the 2 given points into the equation using (2,5)
5=2+6⇒b=3
⇒y=x+3←is the linear equation
So the answer to ur question is y=x+3