### Video Transcript

Given that π₯ squared plus two π₯ plus five is equal to π₯ plus π all squared plus π, what are the values of π and π?

Well, our method of completing the square allows us to write any quadratic equation of the form ππ₯ squared plus ππ₯ plus π equal to π multiplied by π₯ plus π all squared plus π, where π is equal to π divided by two π and π is equal to π minus ππ squared.

For the example π₯ squared plus two π₯ plus five, our values of π, π, and π are positive one, positive two, and positive five, respectively. Substituting the values of π and π into the equation π equals π divided by two π gives us π is equal to two divided by two multiplied by one. This is equal to one as two multiplied by one is two and two divided by two equals one.

We can use the equation π equals π minus ππ squared to work out the value of π in this case. Five minus one multiplied by one squared is equal to four. Therefore, π is equal to one and π is equal to four. This enables us to rewrite the quadratic equation π₯ squared plus two π₯ plus five as π₯ plus one all squared plus four.