Peter spent half the money on his gift card and coffee and he loaded another $10 on the gift card how much was on the gift card to begin with if he has spent $40 on the card