A science book, a philosophy book, a geometry book, and a trigonometry book are to be arranged next to each other on a shelf. There are n possible arrangements of the 4 books such that the geometry book and the trigonometry book are next to each other.