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(74);

draw((5,0)--X,EndArrow);

label("$x + 26^\circ$",(5,0),NE);

label("$2x+10^\circ$",(5,0),NW);

label("$l$",(0,0),NW);

[/asy]
Since the two angles together form a line, we have $(x + 26^\circ)+ (2x+10^\circ) = 180^\circ$.  Simplifying gives $3x + 36^\circ = 180^\circ$, so $3x = 144^\circ$ and $x = \boxed{48^\circ}$.