In triangle PQR, M is the midpoint of ¯PQ. Let X be the point on ¯QR such that ¯PX bisects ∠QPR, and let the perpendicular bisector of ¯PQ intersect ¯PX at Y. If PQ=36, PR=22, and QR=8, then find the area of triangle PYR.