The length of a rectangle is six times its width. The area of the rectangle is 384 square centimeters. Find the dimensions of the rectangle.