Jess is trying to guess the number of blue jellybeans in a jar. She can see that there are 17 green jelly beans and twice as many red jelly beans. The rest of the jellybeans are blue jelly beans. If there are a total of 60 jelly beans in total, how many blue jellybeans are there?
There are 17 green jelly beans * 2 = 
<gadget id="calculator">17*2</gadget>
<output>34</output>
34 red jelly beans.
So in the green and red jelly beans, there are a total of 17 + 34 = 
<gadget id="calculator">17+34</gadget>
<output>51</output>
51 jellybeans.
As the rest are blue, there must be 60 total jellybeans - 51 red and green jelly beans = 
<gadget id="calculator">60-51</gadget>
<output>9</output>
9 blue jelly beans.

<result>9</result>