In △PQR, PQ = PR and QR = 18 in. The altitude PN = 12 in and S is a point on the extension of QR so that PS = 20 in. Prove that ∠QPS is a right angle.