Let the cost of 1 pen and 1 pencil are ₹x and ₹y respectively.
Then as per the question
Adding (i) and (ii), we get
Subtracting (i) from (ii), we get
Now, adding (iii) and (iv), we get
Substituting x = 16 in (iii), we have
Hence, the cost of 1 pen and 1 pencil are respectively ₹16 and ₹5.