Surely you can solve b). Point a) can be solved with a simple application of the Pythagoras theorem.
In general, let P' be the projection of P on OR. If you know angle POR, then you an find OP' and PP' using trigonometric functions. Knowing PP', you can find P'Q using the Pythagoras theorem. Therefore, you can find OQ.