The perimeter of a 6-sided figure is 72 units, and the length of each side is x+5. What is the value of x?