You and two of your best friends go on a scuba-diving trip off the coast of Florida. After arriving to the dock, you proceed to go find out how much it is for you and your friends to go diving. You approach the booth and the young lady informs you that the price is going to be $10 dollars a person. Your friends agree to the price, and each hand you $10. Total, you have $30 in your hands (including the $10 dollars admission for yourself). While paying for your tickets, the captain walks up and notices that you and your friends have never been before, and decides to cut you guys a deal. He took off $5 dollars from the entire total, but kept $2 dollars as a tip. So, instead of paying $10 dollars a person, everyone really only paid $9. So, the trip was originally $30 for everyone together, however the captain cut you guys a deal making everyone only have to pay $9, which equals $27 dollars total. The captain also kept a $2 dollar tip for himself from the money that was given back from the deal ($27 + $2 = $29). What happened to the other dollar?
Warning this contains the answer