A textbook store sold a combined total of 331 physics and sociology textbooks in a week. The number of sociology textbooks sold was 45 less than the number
of physics textbooks sold. How many textbooks of each type were sold?