Help would be much appreciated! Thank you in advance!

The problem is: A carpenter wishes to construct a rectangular box with a square top and bottom and with 1500 cubic inch capacity. The cost to construct the top and bottom is 3 cents per sq inch and cost to construct 4 sides is 2 cents per sq inch. What are the dimensions of the most economical box?