Let the age of girls sister be of x years
Given that :
Girl is twice as old as her sister.
⇒ Girl's age2×xyears=2xyears.
Given that, after 4 years, the product of their ages will be 160.
⇒ Girls age after 4 years=2x+4years
and sisters age after 4 years=x+4years
Given: (2x+4)(x+4)=160
⇒2x2+8x+4x+16−160=0
⇒2x2+12x−144=0
⇒2(x2+6x−72)=0
⇒x2+6x−72=0
⇒x2+12x−6x−72=0
⇒x(x+12)−6(x+12)=0
⇒(x+12)(x−6)=0
⇒x=−12 or x=6
Since, age cannot be negative
So, x=6
∴ Age of girls sister is x=6 years
And age of girl is 2x=2×6=12years.
Hence, the present ages of girl and her sister are 12 years and 6 years respectively.