Aloha :)
$$\left.0,8x^2+4x=40\quad\right|\cdot\frac54$$$$\left.x^2+5x=50\quad\right|\text{quadratische Ergänzung }\left(\frac52\right)^2=\frac{25}{4}\text{ addieren}$$$$\left.x^2+5x+\frac{25}{4}=50+\frac{25}{4}\quad\right|\text{1-te binomische Formel links}$$$$\left.\left(x+\frac52\right)^2=\frac{200}{4}+\frac{25}{4}=\frac{225}{4}\quad\right|\sqrt{\cdots}$$$$\left.x+\frac52=\pm\frac{15}{2}\quad\right|-\frac52$$$$x_{1;2}=-\frac52\pm\frac{15}{2}$$$$x_1=-10\quad;\quad x_2=5$$
~plot~ 0,8x^2+4x ; 40 ; {-10|40} ; {5|40} ; [[-12|8|-10|50]] ~plot~