They each paid $9 for the room. The trick with this problem is the wording:
"$27 + $2 is $29" is factual, but it doesn't apply to this problem.
"$27 - $2 is $25" is the math that does apply to this problem.