Simplify (7x+2)*3+8x