the general equation of the lines is
where m is the slope and b the y-intercept
• calculating the slope
where (x2,y2) is a right point from (x1,y1)
on this case (x2,y2) is (2,8) and (x1,y1) the other point
replacing
the slope is 3/2
• Calculating b
replace m and a point to solve b from the general equation. I will use the point (2,8)
• rewriting the equation
replace m and b on the general equation