I have a piece of fencing measuring a total length of 16m.

I want to enclose off a rectangular shaped piece of my garden for my vegatable plot.

What is the MAXIMUM area I can make with my fencing.

Length_1 = 4 (slider from 0 to 8, step 0.1)
Breadth_1: (16 - 2 * Length_1) / 2
a: Breadth_1 * Length_1
b: Breadth_1 * (16 - 2 * Breadth_1) / 2
A: (Length_1, Breadth_1)
B: (0, Breadth_1)
Length = Segment(B, A)
C: (Length_1, 0)
Breadth = Segment(A, C)
D = Intersect(xAxis, yAxis)
e = Segment(B, D)
f = Segment(D, C)
Area: (Length, Length * Breadth)