To find the equation of the line y = mx through the origin, we first need to find the slope (m) of the line.
To find the slope, we use the formula:
m = (y2 - y1) / (x2 - x1)
Plugging in the points (-1, 5) and (2, 10), we get:
m = (10 - 5) / (2 - 1)
m = 5 / 1
m = 5
So, the slope of the line is 5.
Since the line passes through the origin, the y-intercept is 0. Therefore, the equation of the line is:
y = 5x