PROBLEMA NUM: 4960 - CATEGORIA: generici - DIFFICOLTA': ***

My mom's friend bought cookbooks and travel books at a book sale. She spent $29 and bought 7 books. The cookbooks cost $3 apiece and the travel books cost $7 apiece.
How many of each type of book did the friend buy?