2 tricky optimization problems

Hey guys,

I'm stuck with these two problems, I tried various ways of solving, but with no luck.

1. A rectangular page is to contain 180 square inches of print. The top and bottom margins are each 0.7 inches wide , and the margins on each side is 2 inches wide. What should the dimensions be if the least amount of material is to be used ?

Length of top(bottom) :

Length of side :

2. Suppose postal requirements are that the maximum of the length plus the girth (cross sectional perimeter) of a rectangular package that may be sent is 250 inches. Find the dimensions of the package with square ends whose volume is to be maximum.

Square side :

Length :

What to do? Thanks.

PS: solutions are due 8 pm today june 12th!