Find the perimeter of a polynomial with sides

3x
9
4x
6
6x+1
6

Add them up. It must be a hexagon, since there are six sides. There will ba an x term in the answer.