In right triangle ABC, AC = BC and angle C = 90. Let P and Q be points on hypotenuse AB, as shown below, such that angle PCQ=45. Show that AP^2 + BQ^2 = PQ^2.
Hint: Rotate the diagram counter-clockwise around angle C by 45 degrees .Let P go to point P' What is angle P'CQ?