The product of two consecutive positive integers is 1,332. Explain how you can write and solve a quadratic equation to find the value of the larger integer.