Two triangles are similar. The lengths of the sides of one triangle are 3, 5 and 6. What are the lengths of two sides of the other triangle if the length of the shortest side is 27?