In the following figure, if \(\Delta \) \(EFG\)\(\sim \Delta\) \(HIJ\) and their sides are of lengths (in \(cm\)) as marked along them, then find the lengths of the sides of each triangle.

\(EF\)\(=\) \(cm\), \(FG\)\(=\) \(cm\), \(EG\) \(=\) \(cm\)
\(HJ\) \(=\) \(cm\), \(HI\)\(=\) \(cm\), \(IJ\)\(=\) \(cm\)