Pythagoras's Theorem

Move the green and blue sliders. What happens?

What is the relation of the areas of the green, blue and red squares?