\(m+n+p=12\Rightarrow m;n;p\le12\)
\(\left\{{}\begin{matrix}m+n+p=12\\8m+2n+p=48\end{matrix}\right.\) \(\Rightarrow7m+n=36\)
\(\Rightarrow n=36-7m\) \(\Rightarrow\left\{{}\begin{matrix}36-7m\ge0\\36-7m\le12\end{matrix}\right.\) \(\Rightarrow4\le m\le5\)
- TH1: \(m=4\Rightarrow n=8\Rightarrow p=0\)
- TH2: \(m=5\Rightarrow n=1\Rightarrow p=6\)