Two friends order the same dinner. The total
bill was $42. Each friend ordered an entrée
for $18 and a dessert. Let x represent the
cost of one dessert.

What is this in a equation