So, who knows which theory is this? Drag the blocks round to create a triangle, which will be turned into a right-angled triangle by moving the blue block. Press space to draw, 1 to reset, and 2 to calculate the distances.