Answer:
The length that would produce the least expenses is

The width that would produce the least expenses is

Explanation:
From the question we are told that the
Required area to enclose is

Fencing material cost is
$4 per foot for north and south
Fencing material cost for east and west
$8
The diagram for this question is shown on the first uploaded image
From the diagram is mathematically evaluated as
AB = 45000
=>

The overall cost of building this fence is

Substituting for B in the equation above

differentiating both sides with respect to x

At minimum possible cost

=>





Then B is mathematically evaluate as


Then the maximum is mathematically evaluated as

=$4800