Answer:
The total number of books is 1020.
Explanation:
Denote the books by their first letter.
From the provided information:
Compute the expression of T as follows:

Compute the value of C in terms of A:

Compute the value of A as follows:
Use expressions (i) and (ii):

Compute the value of T as follows:

Thus, the total number of books is 1020.