solve (x+2)**2+(2*x+m-1)**2=5 for x