A flower pot has 6 sides that are all tha same length. Each side measures x -6 units, the bases perimeter is 78 units. What is the value of x?