The slope-intercept form of a line
Given a line with a slope m and a y-intercept b, the equation can be written as:
y = mx + b
We are given the point (5,0) through which the line passes and the slope m=2. The slope can be substituted in the equation:
y = 2x + b
To determine the value of b, we can substitute the coordinates of the given point in the equation:
0 = 2*5 + b
Operating:
10 + b = 0
Solving:
b = -10
The required equation is:
y = 2x - 10