Answer:
25
Explanation:
let x = the amount of money that shelly has.
let y = the amount of money that john has.
if shelly give john 5 dollars, then they both have the same amount of money.
this leads to the equation:
x-5 = y+5
if john give shelly 5 dollars, then shelly has twice as much money as john has.
this leads to the equation:
x+5 = 2(y-5)
solve for x in each equation to get:
x-5 = y+5 leads to:
x = y+10
x+5 = 2(y-5) leads to:
x+5 = 2y-10 which becomes:
x = 2y-15
you have 2 expressions that are equal to x.
they are:
x = y+10
x = 2y-15
you can set these expressions equal to each other to get:
y+10 = 2y-15
subtract y from both sides of this equation and add 15 to both sides of this equation to get:
y = 25
since x = 2y-15, this leads to:
x = 2(25)-15 which becomes:
x = 35
the equation x = y + 10 leads to the same answer of:
y =35
you have:
x = 25
y = 35