Solve one-step equations involving integers