Let the present age of Priyanka be ‘x’ years and that of Deepika be ‘y’ years.
According to the first condition,
Priyanka’s age + Deepika’s age = 34 years
∴ x + y = 34 …(i)
According to the second condition,
Priyanka is elder to Deepika by 6 years.
∴ x =y + 6
∴ x – y = 6 …..(ii)
Adding equations (i) and (ii)
∴ x = 20
Substituting x = 20 in equation (i),
x + y = 34
∴ 20 + y = 34
∴ y = 34 -20= 14
∴ The present age of Priyanka is 20 years and that of Deepika is 14 years