Suppose that the sides of the rectangle have lengths x and y, and that the measure of the side parallel to the creek is y, as shown in the drawing below
The total length of the fence, according to the drawing, is:
[tex]2x+y[/tex]Since there is 120 feet of fencing available, then:
[tex]\begin{gathered} 2x+y=120 \\ \Rightarrow y=120-2x \end{gathered}[/tex]On the other hand, the area A of the pasture, is equal to the base 120-2x times the height x:
[tex]\begin{gathered} A=x(120-2x) \\ =2x(60-x) \end{gathered}[/tex]Find the maximum value of the 2nd degree polynomial for A. Since A has roots at x=0 and x=60, the maximum value is found at x=(60+0)/2=30.
Then, the maximum possible area of the pasture can be found by plugging in x