An umbrella is in the shape of a regular octagon as shown. The umbrella is separated into sections, as shown by the dashed lines that intersect in the center of the octogon. What is the value of x?
A: 22.5 degrees
B: 37.5 degrees
C: 45 degrees
D: 50 degrees
