Ratio in the present ages of Rohit and Mayank =11:8
Let age of Rohit 11x, then that of Mayank =8x
8 years hence, their ages will be
Age of Rohit =11x+8 years
and age of Mayank =8x+8 years
and the ratio of their ages after 8 years =5:4
11x+88x+8=54
⇒ 44x+32=40x+40
⇒ 44x−40x=40−32
⇒ 4x=8
⇒ x=2
Present age of Rohit =11x=11×2=22 years
and age of Mayank =8x=8×2=16 years.