Elizabeth had a book delivered to her home. The total cost included the price of the book, 7% sales tax on the price of the book, and a $4.50 shipping charge. Elizabeth paid a total of $31.25.

What was the pre-tax price of the book?