Let the present age of Nilu be x years
Present age of Sohan =x+12 years
After 5 years Nilu's age will be (x+5) years
Sohan's age will be (x+12+5) years i.e.,
x+17 years
now according to the question
(x+5)×2=x+17
⇒ 2x+10=x+17
⇒ 2x−x=17−10
⇒ x=7
Nilu's age is 7 years
Sohan's age is 7+12=19 years
Hence, the age of Sohan and his sister (Nilu) are 19 years and 7 years respectively
Hence the sum is (19+7)=26 years