A textbook store sold a combined total of 405 math and chemistry textbooks in a week. The number of math textbooks sold was two times the number of chemistry textbooks sold. How many textbooks of each type were sold?