A closed rectangular container with a square base is to have a volume of 125 in[math]. The material for the top and bottom of the container will cost $3 per in[math], and the material for the sides will cost $3 per in[math]. Find the dimensions of the container of least cost.

Side of Base (in)=
Height (in)=