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.
a. (x+2)(x−1)=2−3x
b. (2x+1)2=3−x
c. (x−2)2=1+x
d. (3x+1)2=−2x
e. (x+3)(2x+1)=9
f. (2x+3)(2x−3)=x
g. 2−xx−1=2x+1
h. x−x1=1
i. 2x−x1=3