In triangle PQR, PQ = PR and PM is perpendicular to QR. By which property is triangle PQM congruent to triangle PRM?