👤

declare the variables
set up the equation:
The difference in ages between Joe and his older brother Sam is five years. The sum of
their ages is 35. How old is each brother?

Answer :

The answer is 7 because u add them