I agree 100% with the steps and the way the problem was solved, but I think they missed a little detail. If "x" correspond to 1 bedroom apartment, and "Y" Correspond to two bedroom apartments, then the answer is not x=5. "x" represents one bedroom apartments and they are actually asking for the number of the 2 bedroom apartments which is y=7. Why?
X+y=12 so 5+y=12, y=7. The correct answer is 7.
X+y=12 so 5+y=12, y=7. The correct answer is 7.