Make an upward square with the right side A as the side length,
Draw a square to the left with the right side B as the side length.
Make a square with the hypotenuse c as the side length.
In order to understand the attached drawings (taken from Baidu entry):