He's going to put fence <em>around</em> the garden. This means that they question is asking for the perimeter (which is length + length + width + width) so the perimeter is 18 + 18 + 4 + 4, or 44ft of fencing
Hamburgers/pickles 3/9 x/100 cross multiply to get 300=9xx Now you have an algebraic equation. divide 300 by 9, and you'll have your answer which is 100 pickles.