\(\Delta'=\left(m-1\right)^2-\left(m^2-3m\right)\ge0\)
\(\Leftrightarrow m+1\ge0\Rightarrow m\ge1\)
Theo Viet: \(\left\{{}\begin{matrix}x_1+x_2=2m-2\\x_1x_2=m^2-3m\end{matrix}\right.\)
\(B=\left(x_1+x_2\right)^2-2x_1x_2+7\)
\(B=\left(2m-2\right)^2-2\left(m^2-3m\right)+7\)
\(B=2m^2-2m+11\)
\(B=2m\left(m-1\right)+11\ge11\)
\(B_{min}=11\) khi \(m=1\)