Answer:
rama was 24 , shashi was 30
Step-by-step explanation:
the ratio of their ages now = 8 : 9 = 8x : 9x ( x is a multiplier )
24 years ago , then the ratio is 4 : 5
24 years ago rama is 8x - 24 and shashi is 9x - 24
equating the ratios
[tex]\frac{8x-24}{9x-24}[/tex] = [tex]\frac{4}{5}[/tex] ( cross multiply )
5(8x - 24) = 4(9x - 24) ← distribute parenthesis
40x - 120 = 36x - 96 ( subtract 36x from both sides )
4x - 120 = - 96 ( add 120 to both sides )
4x = 24 ( divide both sides by 4 )
x = 6
Then 24 years ago
rama = 4x = 4 × 6 = 24 years old
shashi = 5x = 5 × 6 = 30 years old