The cost of a book is 25 shillings more than the cost of a pen. The cost of 4 books and 5 pens is 334 shillings. Work out the cost of each item.