John and Jivanti together have 45 marbles. Both of them lost 5 marbles each, and the product of the number of marbles they now have is 124. Form the quadratic equation to find how many marbles they had to start with, if john and x marbles.

Number of marbles John has is x.


Given, John and Jivanti together have 45 marbles.


Number of marbles which Jivanti has = 45 – x


Now, both of them lost 5 marbles each, and the product of the number of marbles they now have is 124.


(x – 5)(40 – x) = 124


40x – 200 + 5x – x2 = 124


x2 – 45x + 324 = 0


2