I sold the book cheap.

Literal

I [topic-は] book [object-を] cheaply sold.

安く is the adverbial form of the い-adjective 安い ('cheap, inexpensive'). Functions here as a manner adverbial modifying 売った ('sold'). A simple past-tense statement.