Rearrange the following equations so they are written in the form ax2+bx+c=0, then use the quadratic formula to solve exactly for x.
(1) (x+2)(x−1)=2−3x
(2) (2x+1)2=3−x
(3) (x−2)2=1+x
(4) (3x+1)2=−2x
(5) (x+3)(2x+1)=9
(6) (2x+3)(2x−3)=x
(7) 2−xx−1=2x+1
(8) x−x1=1
(9) 2x−x1=3