Please find the diagram in the attachment for a better understanding of the solution provided here.
We will use the Pythagoras' Theorem here. The right triangle is PQR. Because it is a right triangle, therefore, we can use the Pythagoras' Theorem here.

Thus, as required by you we have successfully proven that the value of PQ=16.7