Sum of the present ages of P and Q = 60 years
So, Sum of their ages after 5 years = 60 + (5 * 2) = 70 years
After 5 years, ratio of Ages of P and Q will be 3:4
Therefore , P’s age after 5 years = (3/7) * 70 = 30 years
And , P’s present age = 30 -5 = 25 years