Answer:
The total number of books is 1020.
Step-by-step explanation:
Denote the books by their first letter.
From the provided information:
Compute the expression of <em>T</em> as follows:

Compute the value of <em>C</em> in terms of <em>A</em>:

Compute the value of <em>A</em> as follows:
Use expressions (i) and (ii):

Compute the value of <em>T</em> as follows:

Thus, the total number of books is 1020.