I'm helping my child with his homework. One of the problems is this: Determine the solution set of the equation
$x^2+3x+7=4$
Here is my attempt to determine $x_1$ and $x_2$:
$a^2+2ab+b^2=(a+b)^2$
$2ab=3x$
$2xb=3x$
$2b=3$
$b=\frac{3}{2}=1.5$
$b^2=2.25$
$x^2+3x+b^2-b^2+7=4$
$x^2+3x+2.25-2.25+7=4$
$(x^2+3x+2.25)-2.25+7=4$
$(x^2+3x+2.25)+7=4+2.25$
$(x^2+3x+2.25)+7=6.25$
$(x^2+3x+2.25)=6.25-7$
$(x^2+3x+2.25)=-0.75$
$(x+1.5)^2=-0.75$
In other similar equations we would take the square root of both sides. But I cannot take a square root of a negative number ($-0.75$).
How can I solve it, i. e. find out the values of $x$?