help with this question please

Answer:
Emily had $24 to begin with.
Fred had $21 to begin with.
Step-by-step explanation:
We know that both Emily and Fred gave Gary, who had no money, a total of $15. We also know that now they have the same amount of money (they all have $15). We simply have to add the values each person gave to Gary:
Emily: 15 + 9 = 24
Fred: 15 + 6 = 21