Given:
A line passes through the origin and the point (-2,1).
To find:
The slope of the line.
Solution:
If a line passes though two point, then the slope of the line is
It is given that a line passes through the origin, .i.e., (0,0) and the point (-2,1). So, the slope of the line is
Therefore, the slope of the line is
.