You may be able to deduct up to $4,000 of the expenses as a tuition and fees deduction on line 34 of Form 1040 as an adjustment to income if certain requirements are met. Books can be included only if they are required to be purchased directly from the college as a condition for attendance.
Instead of this deduction, you may be eligible for a lifetime learning credit of up to $2,000. The IRS link below to Publication 970 provides details of both.
Pages 18 - 23, 32 - 34, and Appendix B on page 72 -