Square of a difference

Drag the green points to change a and b.