May is getting her hair cut and colored. It costs $40 for the color and $30 per inch of haircut. If her hair started at 10 inches and ended at 8, how much did her cut and color cost?
She had 2 inches cut because 10-8=
<gadget id="calculator">10-8</gadget>
<output>2</output>
2.
It cost $60 for the cut because 2 x 30 =
<gadget id="calculator">2*30</gadget>
<output>60</output>
60.
It cost $100 total because 40+60=
<gadget id="calculator">40+60</gadget>
<output>100</output>
100.

<result>100</result>