Daniel B. answered 03/28/21
A retired computer professional to teach math, physics
I find the picture confusing because it looks like the side covered by steel is supposed to be as long as the side of the building.
So instead I will assume that the side of the building is actually longer than any potential length of the steel fencing.
Let
p be the length of each of the sides where pine fencing is to be used,
s be the length of the side where steel fencing is to be used.
The cost of the fencing is then
c2(p, s) = 7p + 7p + 2s
We have the constraint that ps = 911, i.e.
s = 911/p
Therefore we can express the cost in term of p alone
c(p) = 14p + 1822/p
Minimum cost will be achieved for the value of p where the derivative of c'(p) = 0.
c'(p) = 14 - 1822/p²
Setting it to zero, and calculating the optimal p
14 - 1822/p² = 0
p = √(1822/14) = 11.4 ft
s = 911/11.4 = 79.9 ft