they paid 30, 10 + 10 + 10.
the manager refunded them 5, 30 - 5 = 25.
the bellboy took 2, gave them 3 only.
since the bellboy gave only 3 to friends, then they paid 10 + 10 +10 - 3 = 27, if we include the 2 the bellboy kept, then that makes it 27 - 2 = 25.
we're not adding the $2 kept by the bellboy, we're subtracting it from the $27.