Disclaimer: There is an error in the given question. Instead of 7 books and 5 pens there should be 7 books and 6 pens.
Let the cost of 1 book be x and the cost of 1 pen be y.
The total cost of 6 books and 7 pens is 79 rupees.
Total cost of 7 books and 6 pens is 77 rupeess.
Adding (I) and (II)
Subtracting (II) from (I)
Adding (III) and (IV)
y = 7
Cost of 1 book and 2 pens is 5 + 14 = Rs 19.