Let \( x \) be the time it takes the experienced crew to paint the apartment (in hours). According to the problem, the new crew takes twice as long, so it takes the new crew \( 2x \) hours to paint the apartment.
The rates of work for each crew can be expressed as follows:
- The rate of the experienced crew is \( \frac{1}{x} \) apartments per hour.
- The rate of the new crew is \( \frac{1}{2x} \) apartments per hour.
When both crews work together, their combined rate is:
\[ \frac{1}{x} + \frac{1}{2x} = \frac{2}{2x} + \frac{1}{2x} = \frac{3}{2x} \text{ apartments per hour.} \]
Given that together they can paint the apartment in 6 hours, their combined work rate must equal the rate needed to complete one apartment in 6 hours:
\[ \frac{3}{2x} = \frac{1}{6}. \]
Next, we can solve for \( x \) by cross-multiplying:
\[ 3 \cdot 6 = 2x \cdot 1, \]
which simplifies to:
\[ 18 = 2x. \]
Now, divide both sides by 2:
\[ x = 9. \]
Thus, it takes the experienced crew \( 9 \) hours to paint the apartment.
Therefore, the answer is:
It takes 9 hours for the experienced crew to paint the apartment.