`2 . |x - 7| = 34`
`=> |x - 7| = 34:2`
`=> |x - 7| =17`
\(\Rightarrow\left[{}\begin{matrix}x-7=17\\x-7=-17\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=17+7\\x=-17+7\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=24\\x=-10\end{matrix}\right.\)