Answer:
Lucy: 10
Daniel: 37
Explanation:
Let Daniel's age be d, and Lucy's age be l.
We can set up a system of equations.
d = 7 + 3l
2d-5l = 24
We can subsitute the value of d from the first equation into the second equation.
2*(7+3l)-5l = 24
Distribute:
14 + 6l - 5l = 24
Combine like terms:
l = 10
Plug this value back into the first equation:
d = 7 + 3*10
d = 37