There were w dollars in Olivia's wallet. She collected x more dollars from an atm. After she visited a supermarket there were y dollars left. How much more money did she spend at the supermarket than she collected at the atm?
Let's denote the amount of money Olivia spent at the supermarket by s.

s = w + x - y

Therefore, the answer (symbolic expression) is: 

s - x