Three books and two pens cost a total of $34 . Four books and five pens cost a total of $50 . What is the price for a single book and for a single pen?