a. Để \(M=N\) thì \(\frac{2}{3}x-\frac{1}{3}=3x-2\left(x-1\right)\), ta có:
\(\frac{2}{3}x-\frac{1}{3}=3x-2\left(x-1\right)\\ \Leftrightarrow\frac{2}{3}x-\frac{1}{3}=3x-2x+2\\ \Leftrightarrow\frac{2}{3}x-3x+2x=\frac{1}{3}+2\\ \Leftrightarrow\frac{-1}{3}x=\frac{7}{3}\\ \Leftrightarrow x=-7\)
Vậy \(x=-7\) để \(M=N\)
b. Để \(M+N=8\) thì \(\frac{2}{3}x-\frac{1}{3}+\left[3x-2\left(x-1\right)\right]=8\), ta có:
\(\frac{2}{3}x-\frac{1}{3}+\left[3x-2\left(x-1\right)\right]=8\\\Leftrightarrow \frac{2}{3}x-\frac{1}{3}+\left[3x-2x+2\right]=8\\\Leftrightarrow \frac{2}{3}x-\frac{1}{3}+3x-2x+2=8\\ \Leftrightarrow\frac{2}{3}x+3x-2x=\frac{1}{3}-2+8\\\Leftrightarrow \frac{5}{3}x=\frac{19}{3}\\\Leftrightarrow x=\frac{19}{5}\)
Vậy \(x=\frac{19}{5}\) để \(M+N=8\)