A bucket is full of oil, half of the total is taken out for the first time and 2 kilograms are taken out; the remaining half is taken out for the second time and the remaining half is more than 5 kilograms, leaving 6 kilograms. How many kilograms of oil are there in this barrel?
一桶里装满了油，第一次取出总数的一半多2千克；第二次取出剩下的一半多5千克，还剩6千克．原来这桶中有多少千克油？
<gadget id="calculator">6 + 5</gadget>
<output>11</output>

<gadget id="calculator">11 * 2</gadget>
<output>22</output>

<gadget id="calculator">22 + 2</gadget>
<output>24</output>

<gadget id="calculator">24 * 2</gadget>
<output>48</output>

<result>48</result>