Line $l$ is a straight line. What is the value of $x$ in the diagram? [asy]
size(150); defaultpen(linewidth(0.8)); import geometry;
draw(origin--(10,0),Arrows);
pair X = (5,0) + 5*dir(80);
draw((5,0)--X,EndArrow);
label("$x$",(5.4,0),NE);
label("$x+20^\circ$",(5,0),NW);
label("$l$",(0,0),NW);
[/asy]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Line $l$ is a straight line. What is the value of $x$ in the diagram? [asy]
size(150); defaultpen(linewidth(0.8)); import geometry;
draw(origin--(10,0),Arrows);
pair X = (5,0) + 5*dir(80);
draw((5,0)--X,EndArrow);
label("$x$",(5.4,0),NE);
label("$x+20^\circ$",(5,0),NW);
label("$l$",(0,0),NW);
[/asy]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
80^\circ
Line $l$ is a straight line. What is the value of $x$ in the diagram? [asy]
size(150); defaultpen(linewidth(0.8)); import geometry;
draw(origin--(10,0),Arrows);
pair X = (5,0) + 5*dir(80);
draw((5,0)--X,EndArrow);
label("$x$",(5.4,0),NE);
label("$x+20^\circ$",(5,0),NW);
label("$l$",(0,0),NW);
[/asy]
train