Hey I need to get these as fast as possible:

1. A rectangle has its base on the x-axis and its upper two vertices on the parabola y=12-x^2. What is the largest area the rectangle can have, and what are its dimensions?

2. You are planning to make an open rectangular box from an 8- by 15-in. piece of cardboard by cutting congruent squares from the corners and folding up the sides. What are the dimensions of the box of largest volume you can make this way, and what is its volume?

I can usually work with these once I have the correct equations (by finding the derivative and setting it = to 0) but I have a real problem with getting the actual equation...

NEED HELP! Please :)