the length of a triangle is 18 m less than three times the width the perimeter of the rectangle is 172 m find the dimensions of the rectangle

2(w + 3w-18) = 172