To find the equation of a line let's use the generic equation in the slope-intercept form: y = mx + b, where m is the slope and b is the y-intercept.
To find the equation of the line, follow the steps below.
Step 01: Find 2 points in the graph.
Finding 2 points (x, y) in the graph:
(0, 4) and (2, 0).
Step 02: Substitute the first point in the equation.
Then, the equation of the line is:
Step 03: Substitute the second point in the equation.
Then, the equation of the line is:
The equation of the line in the slope-intercept form is: y = -2x + 4
Step 04: Compare with the given equation:
To do it, add 2x to both sides:
And multiply both sides by 2:
Answer:
The equation of the line is:
y = -2x + 4
Which is the same as:
4x + 2y = 8