Divide the shortest side of the bigger triangle by the shortest side of the smaller triangle:
27 ÷ 3 = 9
Multiply the each of the other two side of the smaller triangle to get the lengths of the corresponding sides in the bigger triangle.
5 × 9 = 45
6 × 9 = 54
The two sides of the other (bigger) triangle are 45 and 54 units.