A holding pen for fish is to be made in the form of a rectangular solid with a square base and open top. The base will be slate that costs $4 per square foot and the sides will be glass that costs $5 per square foot. If the volume of the tank must be 50 cubic feet, what dimensions will minimize the cost of construction?