Hola,
The equation of a straight line is y = mx + c , where y is y-coordinate, x is x-coordinate, m is the gradient, and c is where the line passes the y axis.
m = y2 - y1 / x2 - x1
choose two points on your line and work out m, then see if another point on the line fits the first formula
Chat with our AI personalities