Answer:
129 physics textbooks, 183 biology textbooks
Explanation:
Let x be the number of biology textbooks and x-54 the numbers of physics textbooks.
So:
x+(x-54)=312
2x-54=312
2x=366
x=183
So 129 physics textbooks and 183 biology textbooks were sold.