A rectangular swimming pool is 6ft deep. One side of the pool is 4.5 times longer than the other. The amount of water needed to fill the swimming pool is 1728 cubic feet. Find the dimensions of the pool.