The base of an aquarium with given volume v

The base of an aquarium with given volume V is made of slate and the sides are made of glass. If slate costs five times as much (per unit area) as glass, find the dimensions of the aquarium that minimize the cost of the materials.