contestada

My mom's friend bought cookbooks and travel books at a book sale. She spent $107 and bought 31 books. The cookbooks cost $2 apiece and the travel books cost $5 apiece. How many of each type of book did the friend buy?
MUST BE CORRECT OR ANSWER DELETED AND YOU WILL BE REPORTED.