Currently, your bank account is -$15.
A.)
Deposit $5 a day, so +$5/day
$5 (Day 1)
+ $5 (Day 2)
+ $5 (Day 3)
+ $5 (Day 4)
+ $5 (Day 5)
___________
= $25 for 5 days
After 5 days, you will have $25.
So we go back to the -$15 in your bank account.
$25 - $15 = $10
Your new total in the bank account is $10 after the $5/day for 5 days has been deposited.
B.)
Withdraw $2/day until you have $0.
So, we know we have $10 in the bank account
$10 - $2 = $8 (Day 1)
$8 - $2 = $6 (Day 2)
$6 - $2 = $4 (Day 3)
$4 - $2 = $2 (Day 4)
$2 - $2 = $0 (Day 5)
Within 5 days of withdrawing $2 a day, you will have $0 in your bank account.