The bearing of the point P from Q is 310°. Find the bearing of Q from P

do a 180 -- that is, just subtract 180° from the bearing