A rectangular box is to have a square base and a volume of 36 ft³. If the material for the base costs $0.18/ft², the material for the sides costs $0.12/ft², and the material for the top costs $0.14/ft², determine the dimensions (in ft) of the box that can be constructed at minimum cost.