Explanation:
in what form do we need the equation ?
slope-intercept ?
that would be
y = ax + b
with "a" being the slope and "b" being the y-intercept (the y-value when x = 0).
in any case, since we have the slope and a point, we can start with the point-slope form :
y - yp = a(x - xp)
"a" is again the slope, and (xp, yp) is the given point.
so,
y - 5 = 1×(x - 3) = x - 3
adding 5 to both sides gives us
y = x + 2
and that is our desired equation in slope-intercept form.