Let number of pens bought = x
Let the price per pen = Rs y
It is given that the price of x pens is Rs 180
Also, given that if 3 more pens are purchased for the same amount, the price per pen gets reduced by Rs 3
Put the value of x in (ii) we get
We ignore the negative value.
Therefore, number of pens is 12.