Answer :
Answer:
Ram: 21, Hari: 12
Step-by-step explanation:
To solve the problem, we can use the following notation. We call:
[tex]r[/tex] = Ram's age at present
[tex]h[/tex] = Hari's age at present
We know that:
- Ram is 9 years older than Hari --> mathematically, this can be written as
[tex]r=h+9[/tex]
- Three years ago, Ram was two times as old as Hari was --> mathematically, this can be written as
[tex]r-3=2(h-3)[/tex]
where (r-3) is Ram's age 3 years ago, while (h-3) is Hari's age 3 years ago
Substituting eq.(1) into eq.(2), we find:
[tex](h+9)-3=2(h-3)\\h+9-3=2h-6\\h+6=2h-6\\h=12[/tex]
So, Hari's age is 12; therefore, Ram's age is
[tex]r=12+9=21[/tex]