Correct option is B
Given:
The ratio of the present ages of P and Q is 5:8.
After 5 years, Q’s age will be 45 years.
Solution:
Let the present age of P be 5x and the present age of Q be 8x, based on the ratio 5:8
Q’s age after 5 years = 8x + 5
Now,
8x + 5 = 45
8x = 45 – 5 = 40
x = 5
P’s age 6 years ago = 5x – 6 = 5(5) – 6 = 25 – 6 = 19
Thus, the age of P six years ago was 19 years.