.
The total amount of money y, earned from the sale of (64-8x) books, equals
to the product of the number of books (64-8x), by the price of each book x
y = (64-8x)*x,
or
y = 64x - 8x^2,
which is the same as
y = -8x^2 + 64x.
Solved and carefully/thoroughly explained.