Lời giải:
a.
$x(x-5)+(x+1)(2-x)=0$
$\Leftrightarrow x^2-5x+(2x-x^2+2-x)=0$
$\Leftrightarrow x^2-5x+x-x^2+2=0$
$\Leftrightarrow -4x+2=0$
$\Leftrightarrow x=\frac{1}{2}$
b.
$x^2(x-2019)+2019-x=0$
$\Leftrightarrow x^2(x-2019)-(x-2019)=0$
$\Leftrightarrow (x-2019)(x^2-1)=0$
$\Rightarrow x-2019=0$ hoặc $x^2-1=0$
$\Leftrightarrow x=2019$ hoặc $x=\pm 1$


