Answer: Gail could have from 0 to 8.5 and Jim could have 10 to 18.5
Explanation:
Gail = G
Jim = G + 10
J + G <= 27 ∴
G+10+G <=27
2G + 10 <= 27
2G <= 27 - 10
2G <= 17
G <= 17/2
G <= 8.5
As it is money, let's not say that they have negative money.
So, Gail has from 0 to 8.5. As Jim has 10 more than Gail, he has from 10 to 18.5. At the most : 8.5 + 18.5 = 27.