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?
Let D be the cost of the dessert in dollars.
The entree costs D+5 dollars.
D+(D+5)=23
2D+5=23
2D=18.
D=
<gadget id="calculator">9</gadget>
<output>9</output>
9.
The entree costs $
<gadget id="calculator">14</gadget>
<output>14</output>
14.

<result>14</result>