Pat's stick is 30 inches long. He covers 7 inches of the stick in dirt. The portion that is not covered in dirt is half as long as Sarah’s stick. Jane’s stick is two feet shorter than Sarah’s stick. How many inches long is Jane’s stick?
30-7 = 
<gadget id="calculator">30-7</gadget>
<output>23</output>
23 inches of Pat's stick is not covered in dirt.
Sarah's stick is 23*2 = 
<gadget id="calculator">23*2</gadget>
<output>46</output>
46 inches long.
Jane's stick is 12*2 = 
<gadget id="calculator">12*2</gadget>
<output>24</output>
24 inches shorter than Sarah's stick.
Jane's stick is 46-24 = 
<gadget id="calculator">46-24</gadget>
<output>22</output>
22 inches long.

<result>22</result>