Given:
Given that the graph of the linear equation.
We need to determine the equation of the graph.
Slope:
The slope of the equation can be determined using the formula,
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/e9lgdayfzr27dyurvzbw9lffpiv7535tiv.png)
Let us substitute the coordinates (2,0) and (0,-4) in the above formula, we get;
![m=(-4-0)/(0-2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/9px7xm95qqpvkhy113tc4kvivvwbe5wtta.png)
![m=(-4)/(-2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/8s2dea19aa31phtiuzw7yh9r7zt6e43orn.png)
![m=2](https://img.qammunity.org/2021/formulas/mathematics/middle-school/e92n17m1rvyj6v9efgrqnhpfzomoa8lvs2.png)
Thus, the slope of the equation is 2.
y - intercept:
The y - intercept of the equation is the value of y when x = 0.
Hence, from the graph, it is obvious that when x = 0, the value of y is -4.
Therefore, the value of the y - intercept is b = -4.
Equation of the line:
The equation of the line can be determined using the formula,
![y=mx+b](https://img.qammunity.org/2021/formulas/mathematics/middle-school/yj5waqmoy4i54laybzhhshd88hyo5w5rj5.png)
Substituting the values, we have;
![y=2x-4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/ix7ersfkf188dgvfn02hrcky2g6a1by5xu.png)
Subtracting both sides by 2x, we have;
![-2x+y=-4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/ymxcyspv9ddly6ce8an35og6l99un0wlpm.png)
Dividing both sides by -1, we get;
![2x-y=4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/l1xd01dkctwyo2qmwlbk8v258zic6pq440.png)
Thus, the equation of the line is
![2x-y=4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/l1xd01dkctwyo2qmwlbk8v258zic6pq440.png)
Hence, Option B is the correct answer.