Thirty-one books are arranged from left to right in order of increasing prices. The price of each book differs by $2 from that of each adjacent book. The price of the book at the extreme right is equal to the price of the middle book plus a book adjacent to the middle one. Give an expression for the cost of the $n$th book in terms of $n$