A restaurant bill of $25.44 is obtained by first adding 6% tax to the cost of the food and then adding a 20% tip to the result. What was the cost of the food in dollars?
Let x be the cost of the food. Then 1.2(1.06x)=25.44⟹x=$20.