First, define your variables.
J = Jeremy's age
E = Esmeralda's age
Next, create your equations.
J = E + 7
J + 3 + E + 3 = 57 which simplifies to J + E = 51
Now because J is defined in terms of E, substitute E as J into the second equation. E + 7 + E = 51
Next, 2E = 44
E = 22
Now, substitute the value of E into the original equation to find J. J = E + 7. J = 22 + 7. J = 29
Next check by substituting into the second equation. J + E = 51. 22 + 29 = 51.
Jeremy's age: 29
Esmeralda's: 22