The calculated equation of the line is 4x - y = 2
How to determine the equation of the line
From the question, we have the following parameters that can be used in our computation:
The graph
A linear equation is represented as
y = mx + c
Where
c = y when x = 0
Using the above as a guide, we have the following:
y = mx - 2
Using the points, we have
2m - 2 = 6
Evaluate
m = 4
So, we have
y = 4x - 2
Rewrite as
4x - y = 2
Hence, the equation of the line is 4x - y = 2
Question
What is the line equation in the form Ax+by=c