PQR is a triangle right angled at P and M is a point on QR such that PM ⊥ QR

PQR is a triangle right angled at P and M is a point on QR such that PM ⊥ QR. Show that PM2 = QM X MR.