Final answer:
The length of each side of the rectangular fence should be 7.5 feet.
Step-by-step explanation:
Let's assume the length of each side of the rectangular fence is x feet.
Since there are four equal pens, the width of each pen will also be x feet.
For a rectangular fence, the perimeter can be calculated by adding the lengths of all four sides.
Given that the total length of fencing is 30 feet, we can set up the equation 2(x + x) = 30 to represent the perimeter.
By simplifying the equation, we get 4x = 30, and dividing both sides by 4 gives x = 7.5.
Therefore, each side of the rectangular fence should be 7.5 feet long.