In the library at Lenape Elementary School, there are

2
5
as many fiction books as there are nonfiction books. There are 56 books in the school library. How many books are fiction books?

So we have

2x = fiction
5x = nonfiction
2x+5x = 56
Now just solve for x, and then finish it off