Answer:-
Let the present age of Farhan be x years
and , the present age of his cousin be y years.
Now, according to the Question
It is given that the sum of age of Farhan & his cousin is 38 year
⟹ x + y = 38
⟹ x = 38-y ---------(i)
again, according to the 2nd condition
Seven years ago, Farhan was thrice as old as his cousin
⟹ (x -7) =3 (y-7)
⟹ x -7 = 3y -21
⟹ 38-y -7 = 3y -21 (From equation 1st)
⟹ 31+21 = 3y +y
⟹ 52 = 4y
⟹ 4y = 52
⟹ y = 52/4
⟹ y = 13
Now putting the value of y = 13 in equation (i) we get
⟹ x = 38-13
⟹ x = 25
Hence,
the present age of Farhan is 25 years.
And , the Present age of his cousin is 13 years.