Answer:
309 chemistry textbooks and 103 math textbooks.
Explanation:
Let c be the number of chemistry textbooks sold and m be the number of math textbooks sold. We know that c + m = 412, because the total number of textbooks sold is 412. We also know that c = 3m, because the number of chemistry textbooks sold is three times the number of math textbooks sold.
We can substitute 3m for c in the first equation to get 3m + m = 412. This simplifies to 4m = 412. Dividing both sides by 4 gives us m = 103.
Since we know that c = 3m, the number of chemistry textbooks sold is 3 * 103 = 309. Therefore, the store sold 309 chemistry textbooks and 103 math textbooks.