I'm not sure if you know the quadratic equation yet. This can be solved using that, or you can factor the equation
For a general quadratic equation of the form

the roots of the equation can be found from this equation:

(quadratic equation)
using that we have
The reason I did it that way is because of the irrational number. Usually in high school or middle school, they have problems that can be easily factored. You can actually see the factors using the roots of the first equation:
(x-r_2))
where the r(s) are the roots of the equation. Here it is exactly:
Here's an example of a typical problem:
If the product of two numbers equals zero, then one or both equals zero:
Then x=1/4 or x=-2