First, write this in linear equation:
Let x be the unknown number, it can be shown like this:
Transfer the 15 to the other side and change its sign: The -15 will become +15 after transferring to the other side.
Simplify it by doing the operations:
Therefore the number that must be added to -15 to produce +7 is 22.