Let L represent an arbitrary number. The phrase "The sum of a number and 12" may be translated as: L+12. If the sum of a number and 12 is -31, then the following equation is stated:
Substract 12 from both sides of the equation:
Therefore, the number we were searching for is -43.