a. Em tự giải
b.
\(\Delta=25-4m\ge0\Rightarrow m\le\dfrac{25}{4}\)
Theo hệ thức Viet: \(\left\{{}\begin{matrix}x_1+x_2=5\\x_1x_2=m\end{matrix}\right.\)
\(\left|x_1-x_2\right|=3\)
\(\Leftrightarrow\left(x_1-x_2\right)^2=9\)
\(\Leftrightarrow\left(x_1+x_2\right)^2-4x_1x_2=9\)
\(\Leftrightarrow25-4m=9\)
\(\Rightarrow m=4\) (thỏa mãn)