Tom likes to go over to his friend's house almost every night to play video games. They usually spend 3 hours a night playing the video game together. Last week, they spent a total of 15 hours playing the video game. If Tom went over every night, he would spend 21 hours playing the video game. Also, Tom's friend's mom gives Tom two cookies each time he is there. How many cookies does Tom get last week?