
the general equatin of a line is

where m is the slope and b the y-intercept
firs find the slope using

where (x2,y2) is a right point from (x1,y1)
on this case (x2,y2) is (6,2)
so replacing

the slope is one
now to calculate b we replace the slope and a point and solve b
i will use (3,5)

now replacing the slope and b, the equation of the line is
