You are just doing the problem backwards. In the first place, since there are two solutions, you know that you must have a second degree equation. If you were solving a quadratic, something that looks like:
You would factor the trinomial and have something that looks like:
Then you would use the Zero Product Rule to say:
Therefore, start at the end:
Now we have our two factors:
So all you have to do is multiply the binomials using FOIL and you are done.