Miguel spends $100 on books, five of which are hardcover and the remaining four are paperback. The prices at the bookstore are based on whether the book is hardcover or paperback. It charges $2 less for paperback books than for hardcover books. What is the price for hardcover books?

Let x be the price for hardcover books.

Therefore, the price for paperback books is x - $2.

Miguel spends $100 on books, so the cost of the hardcover books is 5x and the cost of the paperback books is 4(x - $2).

Thus, we can set up the equation:

5x + 4(x - $2) = $100
5x + 4x - $8 = $100
9x - $8 = $100
9x = $108
x = $12

Therefore, the price for hardcover books is $12.