Answer:
y = x + 1
Step-by-step explanation:
The equation of a line in slope-intercept form is
y = mx + c ( m is the slope and c the y-intercept )
to calculate m use the gradient formula
m = ( y₂ - y₁ ) / ( x₂ - x₁ )
with (x₁, y₁ ) = (2, 3) and (x₂, y₂ ) = (5, 6)
m = [tex]\frac{6-3}{5-2}[/tex] = [tex]\frac{3}{3}[/tex] = 1
y = x + c ← is the partial equation
to find c substitute either of the 2 points into the partial equation
using (2, 3 ), then
3 = 2 + c ⇒ c = 3 - 2 = 1
y = x + 1 ← equation of line