### Instruction: The total average age of three friends is 40. Jared is ten years older than Hakimi, and Molly's age is 30. How old is Hakimi?### Response: The total age for the three friends is 40*3 = 120
If Molly's age is 30, then Jared and Hakimi have a total age of 120-30 = 90.
Let's say the age of Hakimi is x.
Since Jared is 10 years older than Hakimi, Jared is x+10 years old.
The total age of Jared and Hakimi is x+x+10 = 90
2x+10 = 90
2x = 90-10
2x = 80
The age of Hakimi is x = 80/2
The age of Hakimi is 40
The answer is 40