The general equation of a line is given as:
y = mx + c where
m = slope
c = intercept on y axis.
We are given a point (x,y) so we use the relation below to develop the equation.
Crossmultiplying, we have:
2x - 14 = y - 4
Adding 4 to both sides,
y = 2x - 14 + 4
y = 2x - 10