In a small library, the books are classified as either Fiction, Non-fiction, or Reference.
The ratio of the number of Fiction books to the number of Non-fiction books to the number of Reference books is 3:7:2 3 : 7 : 2\,3:7:2
There are 45 more Non-fiction books than Reference books.
Work out the total number of books in the library.