\(\frac{1}{2}x+\frac{2}{3}\left(x-1\right)=\frac{1}{3}\)
\(\Rightarrow\frac{1}{2}x+\frac{2}{3}x-\frac{2}{3}=\frac{1}{3}\)
\(\Rightarrow x\left(\frac{1}{2}+\frac{2}{3}\right)-\frac{2}{3}=\frac{1}{3}\)
\(\Rightarrow x\left(\frac{3}{6}+\frac{4}{6}\right)-\frac{2}{3}=\frac{1}{3}\)
\(\Rightarrow x\frac{7}{6}-\frac{2}{3}=\frac{1}{3}\)
\(\Rightarrow x\frac{7}{6}=\frac{1}{3}+\frac{2}{3}=1\)
\(\Rightarrow x=1:\frac{7}{6}=\frac{1.6}{7}=\frac{6}{7}\)