Let the two numbers be represented by X and Y. Then we get the following SYSTEM of equations:

We can subtract both formulas from each other to eliminate x.


Now, divide both sides by 2

Given that X + Y = 46

Subtract 15 from both sides

Hence, X = 31 and Y = 15