The answer to your question is Pq is equal to 45
So, first you put he matching sides in set ratio
X/15= 18/6
So you do 15*18/6 which is 45
To check your work you do 18/6 which is three and 45/15 which is three, so the are in the correct ratio hope this helps ;)