Sandi had $600. She spent half of it at a farmer’s market. Gillian spent $150 more than three times Sandi's total. What is the total that Gillian spent at the farmer’s market?
Sandi spent 600/2 = 
<gadget id="calculator">600/2</gadget>
<output>300</output>
300 dollars at the farmer's market.
Gillian spent 300*3+150 = 
<gadget id="calculator">300*3+150</gadget>
<output>1_050</output>
1050 dollars at the farmer's market.

<result>1_050</result>