**Number Puzzle #90**

A man had Rs.900 and brought some toys with all the money. Out of which 5 toys were defected. He sold all the remaining toys by increasing the price by Rs.2 and made a profit of Rs.80.

What is the no.of initial toys and the initial cost of toys?

Check your answer, **Number of Toys**:-

Check your answer,** Initial Cost**:-

Let assume he had x toys and bought it for Rs.y per piece.

Now, we can form these two equations from these

x*y = 900;//Total cost

(y+2)(x-5) = 900+80;//as he mad profit of Rs.80 by selling x-5 toys in Rs.(y+2).

Now, we can form these two equations from these

x*y = 900;//Total cost

(y+2)(x-5) = 900+80;//as he mad profit of Rs.80 by selling x-5 toys in Rs.(y+2).

xy + 2x -5y -10= 900+80;

2x-5y = 90;

2x-5*900/x = 90

2x^2 -4500 = 90x;

x^2 -45x – 2250 = 0;

(x-75)(x+30) = 0;

x = 75 and x =–30, as number of toys cant be negative, initial **number of toys were 75**.

**Initial Cost = 900/75 = Rs.12.**