Perimiter of Rectangle is 54cm, the width is 1/2(length)... what is the width & Length of the triangle?

P = 2L + 2W

54 = 2(0.5L) + 2L

54 = L + 2L

54 = 3L

18 = L