\(7-\frac{1}{2}.\left(2x-5\right)-\frac{2}{3}\left(3x+1\right)=5\Leftrightarrow7-x+\frac{5}{2}-2x-\frac{2}{3}=5\)
\(\Leftrightarrow-3x=5+\frac{2}{3}-\frac{5}{2}-7\Leftrightarrow-3x=\frac{19}{6}\Leftrightarrow x=\frac{19}{6}:-3=\frac{19}{6}.-\frac{1}{3}\)
=> x = -19/18