Square $ABCD$ has sides of length $3$. Segments $CM$ and $CN$ divide the square's area into three equal parts. If the length of segment $CM$ is \( \sqrt{x} \), what is the value of \( x \)?

Let's think step by step and output the final answer within \boxed{}.
user