For this case we observe that we have a problem of similarity of triangles.
We can then use the following relationship to solve the problem:

From here, we clear the value of x.
We have then:

Rewriting we have:
Answer: the distance from P to Q on Road C is:
