A box has a rectangular base with an area of 24 cm^2 and a volume of 144 cm^2. The length is 2 cm less than the height. What is the width?