Hello, please consider the following.
When
and
are two roots, we can factorise as

So for the first equation, we can say that the sum of the zeros is

and the product is

So we can factorise as below.

And the solutions are

For the second equation, we will complete the square and put the constant on the right side and take the root.
Let's do it!

We take the root, and we find the two solutions


Thank you.