a) \(\left[\left(x+32\right)-17\right].2=42\)
\(\left[\left(x+32\right)-17\right]=42:2\)
\(\left[\left(x+32\right)-17\right]=21\)
\(\left(x+32\right)=21+17\)
\(\left(x+32\right)=38\)
\(x=38-32\)
\(x=6\)
b) \(125+\left(145-x\right)=175\)
\(\left(145-x\right)=175-125\)
\(\left(145-x\right)=50\)
\(x=145-50\)
\(x=95\)