You and your friend are helping move some textbooks between classrooms. You pick up 3 math books and 2 science books, and they weigh 9 pounds. Your friend grabs 4 math books and 4 science books, and they weight 14 pounds. How much does each type of book weigh?