For this case we propose a system of equations:
a: Let the variable representing the cost of hardcover books
b: Let the variable representing the cost of paperback books
According to the statement data we have:

Substituting the second equation into the first we have:

Thus, the cost of hardcover books is $12
ANswer:
The cost of hardcover books is $12