Let the cost of a bag and a pen be a and b, respectively.
Then, according to the question
… (a)
… (b)
On multiplying equation (a) by and (b) by ,
We get,
… (c)
… (d)
Subtracting equation (c) from (d), we get
Hence, the cost of a bag
Substituting in equation (a),
We get,
Therefore, the cost of a pen
From the question, it’s required to find the value of
Therefore, the total cost of bag and pens .