Hi, I have 2 questions on these words problems. I really am not sure where to start these.

1. An advertisement consists of a rectangular printed region with margins of 2 inches each at the top and bottom and 1 inch at each side. If the area of the printed region is to be 98 in^2 , find the overall dimensions if the total area of the advertisement is to be a minimum.

2. A rancher is going to build a 3-sided enclosure with a divider down the middle. The cost per foot of the 3 side walls are $6/ft, with the single back wall being $10/ft. The area enclosed will be 180 ft^2. What dimensions would minimize the cost?

The pen looks like this.

____

| | |

for this one I had an idea of setting 180ft^2 = 3y+x but am not sure if this is the right way to start.