The slope, m of a line that passes through two points (x₁,y₁) and (x₂,y₂) is given by the slope formula:

Notice that the given line (from its graph) passes through the points (0,0) and (2,1).
Hence, substitute (x₁,y₁)=(0,0) and (x₂,y₂)=(2,1) into the slope formula:

Simplify the expression for the slope:

The required slope of the line is 1/2.