Click and Drag the squares to move their positions.
Use the Angle slider to change the angle of the line.
Distance will be measured from the green object to the blue line.