x+y=-m/2
xy=(-2m+1)/2
x^2+y^2=(x+y)^2-2xy
即m^2/4+2m-1=29/4
m^2+8m-33=0
(m-3)(m+11)=0
所以m= 3 或 -11 (舍去)