Cow grazing problem

A cow is tied by a rope to the corner of a rectangular barn with dimensions __ by ___.
Determine the maximum possible grazing area the cow has.
Yet here, you can change the dimensions of the barn by dragging the corners of the rectangle.
Slide the long slider (at the bottom) slowly to explore where the cow can graze.