This question was asked in Ex 6.5, 6

Why PQ2 RP2 =QR2 in Q.6 of ex 6.5

D.d. Doda's image