The theorem of Pythagoras shows the relationship among the three sides of a right triangle.
Move point C and analyse what happens.