A textbook store sold a combined total of 385 history and math textbooks in a week. The number of math textbooks sold was 55 less than the number of history textbooks sold. How many textbooks of each type were sold

Let's denote the number of history textbooks sold as H and the number of math textbooks sold as M.

From the information given, we can set up the following equations:

1) H + M = 385
2) M = H - 55

Substitute the value of M from equation 2 into equation 1:

H + (H - 55) = 385
2H - 55 = 385
2H = 440
H = 220

Now, substitute the value of H back into equation 2 to find M:

M = 220 - 55
M = 165

Therefore, 220 history textbooks and 165 math textbooks were sold.