Jordan and Perry took a boat out to the lake to go fishing on a Monday morning. Jordan caught 4 fish and Perry caught double what Jordan caught. On the way back to shore, the boat tipped over and they lost one-fourth of their total catch. How many fish remain?
Since Perry caught double what Jordan caught, Perry caught 2 * 4 = 
<gadget id="calculator">2*4</gadget>
<output>8</output>
8 fish.
Altogether, they caught 8 + 4 = 
<gadget id="calculator">8+4</gadget>
<output>12</output>
12 fish.
On the way back to the shore, they lost 12 * 1/4 = 
<gadget id="calculator">12*1/4</gadget>
<output>3</output>
3 fish.
They have 12 - 3 = 
<gadget id="calculator">12-3</gadget>
<output>9</output>
9 fish remaining.

<result>9</result>