How do you do this?

A farmer has 336 feet of fencing and wants to build two identical pens for his prize-winning pigs. The pens will be arranged as shown. Determine the dimensions of a pen that will maximize its area.

4 answers

"as shown" doesn't work here.

Are there two pens with a common side?
Yes
Ok, in your diagram,
let the length of the entire enclosure be y ft
let the width be x ft (there are 3 of these)

3x + 2y = 336
y = (336 - 3x)/2 = 168 - 3x/2

area = xy
= x(168 - 3x/2)
= 168x - (3/2)x^2

this is a downwards opening parabola
the x of the vertex is -168/-3 = 56
then y = 168 - (3/2)(56) = 84

the length is 84 ft, and each of the 3 width = 56 ft

check: 2(84) + 3(56) = 636
hey y'all
the length is 45
width is 30
length is 40 cause its on the brainy duh but since theres 4 adjacent sides that'd be 45*4 which is 180 then u subtract 180 from 360 and you get 180 so you divide that by six for the non adjacent sides