The bearing of Q from P is 150 and the bearing of P from R is 015. If Q and R are 24 and 32 respectively from P. Calculate the

The question is obviously not complete.

I will assume you want the distance RQ.

From your data, I get a triangle PQR, with
RP = 32, PQ = 24 and angle R = 45°

using the cosine law:
RP^2 = 32^2 + 24^2 - 2(32)(24)cos45°

take it from there