D=(2a+2)^2-4(a-1)(a+2) solve for D