Your answer is right, but your working is not entirely correct. Notice, you haven't used the information that TQ = 4. I am not sure how you got at the coordinates of B as (10,0) without using this. In any case, using coord-geo for this problem is overkill.
Anyway, using your working, we have BR = 10 and hence BT = BT-RT = 2. So the projection T' of T on the y-axis is at a distance 2 from the origin O.
Hence OT' = 2
You have been given TQ = 4. Now there is a theorem you would have learnt in school according to which QT.PT = RT.TS
Hence PT = 24

This gives PT' = 14.
Hence

=
