How do you solve it?

Answer:
i: x=-2, x=1
ii: x=-1/2
Step-by-step explanation:
Quadratic form:
You solve i by using FOIL (First, Outside, Inside, Last) because it is a multiplication problem.
[tex](x+2)(x-1)=0[/tex]
"first" would be [tex]x*x[/tex], which would equal [tex]x^{2}[/tex]
"outside" would be [tex]x*-1[/tex], which would equal [tex]-1x, or -x[/tex]
"inside" would be [tex]2*x[/tex], which would equal [tex]2x[/tex]
"last" would be [tex]2*-1[/tex], which would equal [tex]-2[/tex]
Now you need to combine the terms so that they are one after the other
[tex]x^{2}-x[/tex] [tex]+2x-2[/tex]
Combine like terms, and you should get:
[tex]x^{2} +x-2[/tex]
i Solution
You need to get the variable by itself.
Subtract two from both sides
[tex]x+2=0\\x=-2[/tex]
Add one to both sides.
[tex]x-1=0\\x=1[/tex]
ii Solution
Add all the terms.
[tex]x+2+x-1=0\\2x+1=0\\2x=-1\\x=-\frac{1}{2}[/tex]