Rectangular paintings hang on the wall of an art gallery. One painting has a area of 24 square feet and another has an area of 32 square feet the paintings have whole number side lengths and have one pair of side lengths in common. What could the common side lengths be?