Megan had 36 books in her locker. Some where library books, some where tetbooks, and the rest were telephone books. The number of library books and telphone books combined equals twice the number of textbooks. The number of textbooks and telephone books combined equals three times the number of library books. How many of ezch type of book were in Megan's locker?