The parallel sides of a trapezoid are 3 cm and 9 cm. The non-parallel sides are 4 cm and 6 cm. A line parallel to the base divides the trapezoid into two trapezoids of equal perimeters. What is the ratio in which each of the non-parallel sides is divided?