Line through two points

The line is set by dragging the two green points.

The text on the diagram then runs through calculating the formula of the line.

To download this Geogebra file click here.