How do you check that you factored a quadratic correctly?
If both the roots satisfy the quadratic equation, then you have factorised it correctly.
I will try explaining with an example.
The roots are
Now simply put the values in the quadratic equation.
First, I will try
which is true.
Now, I will try
which is also true.
Hope you got it :)