Since they are similar, we can just take the proportions and apply it to each side :)
15/6 = 2.5, which means each side of the triangle LMN are 2.5 times longer than that of the other triangle.
20 ÷ 2.5 = 8
25 ÷ 2.5 = 10
This means the perimeter of triangle XYZ = 6 + 8 + 10, which gives 24cm, which is your answer :)
Hope this helps