Explanation:
The trick here is to realize that this is not a sum of the money that the three people paid originally, as that would need to include the money the clerk has ($25). This is instead a sum of a smaller amount the people could have paid ($9 × 3 people = $27), added with the additional money that the clerk would not have needed had they paid that smaller amount ($27 paid - $25 actual cost = $2). Another way to say this is, the $27 already includes the bellhop's tip. To add the $2 to the $27 would be to double-count it. So, the three guests' cost of the room, including the bellhop's tip, is $27. Each of the 3 guests has $1 in his pocket, totaling $3. When added to the $27 revised cost of the room (including tip to the bellhop), the total is $30.
To obtain a sum that totals to the original $30, every dollar must be accounted for, regardless of its location.
Thus, the sensible sum can be expressed in this manner: