human
Hannah is at a restaurant. She spends $23 in total on an entree and a dessert. If the entree costs $5 more than the dessert, how much does the entree cost, in dollars?
assistant
Define a variable ** Let D be the cost of the dessert in dollars.
How much does the entree cost? ** The entree costs D+5 dollars
Write an equation ** D+(D+5)=23
Simplify ** 2D+5=23
Subtract 5 ** 2D=18
Divide by 2 ** D=<<9=9>>9
How much does the entree cost? ** The entree costs $<<14=14>>14.
#### 14