Given that 6 pens cost ₹36
⟹ 1 pen costs ₹366=₹6
⟹8 pens cost 8×₹6=₹48
Now, if 6 pencils cost ₹48, this implies that the cost of 1 pencil = ₹486=₹8
⟹ The cost of 8 pencils =8×₹8=₹64
Also, if 9 pens cost ₹72, then the cost of 1 pen = ₹729=₹8
⟹ 7 pens cost 7×₹8=₹56
And, 9 pencils cost ₹18 ⟹ The cost of 1 pencil = ₹189=₹2
∴ The cost of 7 pencils = 7×₹2=₹14