Ed has 2 dogs, 3 cats and twice as many fish as cats and dogs combined. How many pets does Ed have in total?
If Ed has 2 dogs and 3 cats he has in total 2+3 = 
<gadget id="calculator">2+3</gadget>
<output>5</output>
5 pets that are not fish.
If Ed has twice as many cats and dogs combined he has 2*5 = 
<gadget id="calculator">2*5</gadget>
<output>10</output>
10 fish.
Therefore, in total Ed has 5+10 = 
<gadget id="calculator">5+10</gadget>
<output>15</output>
15 pets.

<result>15</result>