Consider A(40∣220) and B(100∣250).
Choose from A: x1=40 and y1=220 and from B: x2=100 and y2=250.
m=ΔxΔy=x2−x1y2−y1=100−40250−220=6030=0.5
Since the points A-D all lie on a common line, it is sufficient to select only two points (for example A and B). With their help you determine the slope of the line. To do this, subtract the y-coordinate of point A from the y-coordinate of point B, and the x-coordinate of point A from the x-coordinate of point B.
Then determine the y-axis intercept by inserting a point on the straight line (for example C) into the straight line equation y=mx+t and solving for t.
Insert point C into the line equation y=mx+t together with the previously calculated m=0.5:
With this we have determined both m and t, so that our line equation is:
y=0.5⋅x+200