Let's denote the cost of each book as \( x \).
According to the problem, you bought 5 books and 1 DVD. The total cost of the books can be represented as \( 5x \), and the cost of the DVD is $8. We know the total amount spent is $25.50. So, we can write the equation:
\[ 5x + 8 = 25.50 \]
Now, let's solve for \( x \):
- Subtract 8 from both sides of the equation:
\[ 5x = 25.50 - 8 \] \[ 5x = 17.50 \]
- Next, divide both sides by 5:
\[ x = \frac{17.50}{5} \] \[ x = 3.50 \]
Thus, the cost per book is $3.50.