The waiter should have actually given them complete the 5 £ and let the 3 guys divide them themselves, 2 of the guys would get 2 £ and one of them only 1 £.
A guy) -2 + 10 = 8
B guy) -2 + 10 = 8
C guy) -1 + 10 = 9
8+8+9= 25
Now, if the waiter keeps 2:
A) -1 + 10 = 9
B) -1 + 10 = 9
C) -1 + 10 = 9
9+9+9= 27 +2 = 29
5/4 = 1 1/4
LMAO, I could not solve it