the dinner bill came to $24.39 before taxes or tip. if the taxes were 6% and they decided to leave a 18% tip, what was the total cost of dinner