See below for work and solution.

I'm just assuming PQR is a triangle!

q^2 = p^2 + r^2 - 2pr cos(42 deg)

= (289 cm^2) + (625 cm^2) - (850 cm^2)*cos(42 deg)

= 282.3269 cm^2 =>

q = 17 cm.