Billy went to the barber. He got a haircut for $22. 95 and bought some hair gel for $11. 79. He gave the barber $40 and told him to keep the change as a tip. How much did Billy leave as a tip?