Olivia spent w dollars at a supermarket. If she has x dollars left with her How much money did she have initially?
Olivia spent w dollars at a supermarket. If she has x dollars left with her How much money did she have initially?

Olivia had y dollars initially.

She spent w dollars at the supermarket, so she has y - w dollars left.

We know that she has x dollars left, so:

y - w = x

y = w + x