A library contains 2000 books. there are 3 times as many non-fiction books as fiction books. write and solve a system of equations to determine the number of non-fiction and fiction books.