Geric had twice as many bills as Kyla who has 2 fewer bills than Jessa.  After giving 3 bills to Geric, Jessa has 7 bills left. How many bills did Geric have at the beginning?
Jessa had 7 + 3 = 
<gadget id="calculator">7+3</gadget>
<output>10</output>
10 bills before she gave 3 to Geric.
Kyla had 10 - 2 = 
<gadget id="calculator">10-2</gadget>
<output>8</output>
8 bills.
So, Geric had 8 x 2 = 
<gadget id="calculator">8*2</gadget>
<output>16</output>
16 bills.

<result>16</result>