The area of a rectangular ink pad is 32 square centimeters. The perimeter is 24 centimeters. What are the dimensions of the ink pad?