
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In the diagram, $AB$ is a straight line. What is the value of $x$?

[asy]
draw((0,0)--(10,0),black+linewidth(1));
draw((4,0)--(4,7),black+linewidth(1));
draw((4,0)--(3.5,0)--(3.5,0.5)--(4,0.5)--cycle,black+linewidth(1));
draw((4,0)--(9,7),black+linewidth(1));
label("$A$", (0,0), W);
label("$B$", (10,0), E);
label("$x^\circ$", (5,3));
label("$58^\circ$", (5.5,1));
label("$C$", (4,0), S);
label("$D$", (4,7), N);
label("$E$", (9,7), NE);
[/asy]

Present the answer in LaTex format: \boxed{Your answer}
user