Factor: w * w² - w * 36 - (16 * w² - 16 * 36) = 0 w(w² - 36) - 16(w² - 36) = 0 (w - 16)(w² - 36) = 0 (w - 16)(w² - 6²) = 0 (w - 16)(w - 6)(w + 6) = 0
So, w - 16 = 0, or w - 6 = 0, or w + 6 = 0. In other words: w = 16, or w = 6, or w = -6.
Width cannot be negative, so w ≠ -6. If w = 16, then l = 2 * 16 + 4 = 32 + 4 = 36 and h = 18 - 16 = 2 But, since the height must be greater than the width (h > w), w ≠ 16
If w = 6, then l = 2 * 6 + 4 = 12 + 4 = 16 and h = 18 - 6 = 12. Thus: w = 6 in l = 16 in h = 12 in