\[S_{прям} = m \cdot n = 24\ см^{2} \Longrightarrow\]
\[\Longrightarrow n = \frac{24}{m};\ \ n > 0;\ \ m > 0.\]