Well, it took me 2 hours to work out what everyone was saying but I think I get it as well now!
$30 in the till, less $3 refunded to the kids leaves $2 for the shopkeeper because he only needs to leave $25 in the till.
He's still a rip-off merchant then, shame on him conning children out of their pocket money