The final answer is positivewritten correctly, without a negative sign, as shown in the printed solution. The field is pointing in the +x direction. E field = negative derivative of
$\vec{E} = -\frac{\mathrm{d}U }{\mathrm{d} x} \hat{x}$
If the potential times unit vector. If potential at x was negative as your are suspecting, and 0 at infinity, the derivative is > 0 and negative derivative is <0 , giving a field pointing in the wrong direction. See the link posted: