From the same diagram, reverse the order to find Q : P.

Length of Q = 3 units, Length of P = 10 units.
Ratio of Q to P = 3 : 10.

Final Answer: 3 : 10