solve m=Y2-Y1/X2-X1for Y2
You know this is just a formula, right?
times both sides by (X2-x1)m(x2-x1)=y2-y1add y1 to both sidesm(x2-x1)+y1=y2