Two rectangles are similar. One has a length of 12 cm and a width of 9 cm, and the other has a width of 8 cm. Find the length of the second rectangle. Round to the nearest tenth if necessary.