Let's use the variable L to represent the length and W to represent the width.
If the perimeter is 600 ft, we have:
[tex]\begin{gathered} P=2L+2W\\ \\ 2L+2W=600\\ \\ L+W=300 \end{gathered}[/tex]The width is half the length, so we have:
[tex]\begin{gathered} W=\frac{L}{2}\rightarrow L=2W\\ \\ 2W+W=300\\ \\ 3W=300\\ \\ W=\frac{300}{3}\\ \\ W=100\text{ ft}\\ \\ L=200\text{ ft} \end{gathered}[/tex]Now, if each fence segment is 5 ft, we number of segments needed is:
[tex]\begin{gathered} \text{ fences for W1: }\frac{100}{5}=20\\ \\ \text{ fences for W2: }\frac{100}{5}=20\\ \\ \text{ fences for L1:}\frac{200}{5}=40\\ \\ \text{ fences for L2:}\frac{200}{5}=40\\ \\ \\ \\ \text{ total:}20+20+40+40=120\text{ fence segments} \end{gathered}[/tex]