Copy of Pythagorean Squares

Click and drag the red point. How does it move? Do we always have a right triangle? Why?
What is the relationship between the sides of the triangle?[br]What is the relationship between the areas of the squares?[br]Are these relationships related?

Information: Copy of Pythagorean Squares