We can eliminate one of the variables to solve for the other variable, as in both equations, y has opposite coefficients. Combine these two equations:

Divide both sides by 2 to get x by itself:

Plug this value into the second equation:

Subtract 123 from both sides to get y by itself:

Malik has
123 domestic stamps and 89 foreign stamps.