I have different mathematics textbooks and different psychology textbooks. In how many ways can I place the textbooks on a bookshelf, in a row, if there must be a psychology textbook exactly in the middle, and there must be a mathematics textbook at each end?