A regular hexagon and a regular octagon share a side. What is the measure of x, the angle between a side of the hexagon and a side of the octagon?