You just need to translate the sentences into formulas: let x be the number, we have
- The difference of a number and 7 means

- Twice that difference means

So, the left hand side of our equation is 2x-14. Similarly, we have
- The sum of the number and 9 means

- Three times that sum means

So, the right hand side of our equation is 3x+27. We can set and solve the equation

So, the solution is -41.