Let the total no. of articles be n
Let the initial value of 1 article be x
The question says that he bought n articles for Rs. 900
so n×x=900 so x=900n
It also says that since five of them were damaged, he sold the remaining for Rs. 2 extra and he also got a Rs. 80 profit.
So the equation formed would be (n - 5) (x + 2) = 900 + 80
nx - 5x + 2n - 10 = 980
900−5(900n)+2n=990 [as nx = 900 and x=900n]
2n−(4500n)=90n−(2250n)=45n2−2250=45nn2−45n−2250=0n2−75n+30n−2250=0n(n−75)+30(n−75)=0(n−75)(n+30)=0n=75 or −30
Since n is the no. of goods, it is always positive.
So the number of articles he bought was 75