Simplify 8x-3-5x+2x+12