Answer:
1. 40-p+w
2. $4 left
I'm not sure about the first one, but I'm pretty sure about the second one.
Step-by-step explanation: