(2014•天水一模)已知分式x2+3x+2x+2值为0,那么x的值为______.