In a rectangle, the diagonals are equal in length. Therefore, if \( STUV \) is a rectangle and the diagonal \( SU = 5 \) cm, then the other diagonal \( TV \) is also 5 cm.
For quadrilaterals \( ABCD \) and \( LMNO \) to be equal to \( STUV \), it means they share the same properties as \( STUV \). Specifically, if \( ABCD = STUV \), then the lengths of the diagonals \( AC \) and \( BD \) in quadrilateral \( ABCD \) must also be equal to the diagonals of rectangle \( STUV \).
Thus, the lengths of the diagonals \( AC \) and \( BD \) in quadrilateral \( ABCD \) are:
\[ AC = BD = 5 \text{ cm}. \]