Step 1 :\(3x + 7x + 2 = 22 + 5x\)
Step 2 :\(10x + 2 = 22 + 5x\)
Step 3 :\(5x = 20\)
Step 4 :\(x = 4\)