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.
![\begin{gathered} (y-y_1)/(x-x_1)=slope \\ \text{where:} \\ y_1=\text{ 4} \\ x_1=7 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/gdh0okusc518y59cixollkngmrkgk2juru.png)
![(y-4)/(x-7)=2](https://img.qammunity.org/2023/formulas/mathematics/college/6xr869sk9c1n6h6mjg51bp5sxa8x3xtda3.png)
Crossmultiplying, we have:
2x - 14 = y - 4
Adding 4 to both sides,
y = 2x - 14 + 4
y = 2x - 10