Answer:
if the tip is 20% and 7%, it means that the meal MUST cost less than 32.85.
the reason behind this is that if we have $45 to spend it means that each 1% is 0.45 and 0.45x27=12.15 meaning that if we subtract this from $45 we get 32.85.
Now we have already spent $14 on our drink and appetizer so 32.85-14=18.85 we can only spend 18.85 on our meal