I know that the formula to get the straight line which passes trought two points is $\frac{x - x1}{x2 - x1}=\frac{y - y1}{y2 - y1}$ but I need it in a form like $y=mx+q$.
I tried to convert it by myself, but I got stuck here: $y=\frac{y2x-y2x1}{x-x1}$
Can someone help me please?