HELP PLS.

A textbook store sold a combined total of 370 math and chemistry textbooks in a week. The number of chemistry textbooks sold was 52 less than the number of math textbooks sold. How many textbooks of each type were sold?

NUMBER OF MATH TEXTBOOKS SOLD:

NUMBER OF CHEMISTRY BOOKS SOLD: