Can u formulate an equation on a straight line between 2 dots : M1 (x1,y2) and M2 (x2,y2) ?
Yes. Definitely
First, calculate the slope(m)
\(m=\frac{y_2-y_1}{x_2-x_1}\)
Then the formula is y = mx+b
Substitute any pair of coordinates into x and y to calculate b