Phương trình hoành độ giao điểm (P) và Ox:
$x^2-4x+m=0$
Để có 2 giao điểm, $\Delta' > 0$
$\Leftrightarrow 2^2-m > 0$
$\Leftrightarrow m<4$
Theo Viet: $x_1+x_2=4; x_1x_2=m$
$x_1^2+x_2^2=(x_1+x_2)^2-2x_1x_2=9$
$\Rightarrow 4^2-2m=9$
$\Leftrightarrow m=3,5$ (TM)