Let the cost of a pen = x
cost of a book = x + 4
Cost of a pencil = x – 2
ie.5(x + 4) + 2x + 3(x – 2) = 74
5x + 20 + 2x + 3x – 6 = 74
10 x + 14 = 74, 10x = 74 – 14
x = \(\frac{74-14}{10}\) = 6
Cost of pen = Rs. 6
Cost of book = Rs. 10
Cost of pencil = Rs. 4