The side lengths of the figure below are given in centimeters. If the perimeter of this figure is 78 cm, what is the value of x?