Urgent Optimization Questions

Yes, I got 2 more problems....I really need some solutions to these...

1) You're desgning a rectangle poster to contain 50 in squared of printing with a 4-inch margin at the top and bottom and a 2-inch margin at each side. What overall dimensions will minimize the amount of paper used?

2) Two sides of a trianglehave lengths A and B, and the angle between them is theta. What value of theta will maximize the triang;e's area? Hint: A=1/2ABSinTheta

I'm in calculus and I do not know how to solve these problems. Any help is appreciated!