Given:
The slope (m) = 2
The given point: (5,6)
The formula to find the equation of a line given its slope and a point is:
[tex]y-y_1=m(x-x_1)[/tex]Substituting the given values:
[tex]\begin{gathered} y-6\text{ = 2(x-5)} \\ y-6\text{ = 2x -10} \end{gathered}[/tex]Re-arranging to have a slope-intercept form:
[tex]y\text{ = mx + c}[/tex]Where m is the slope and c is the intercept
Hence:
[tex]\begin{gathered} y\text{ = 2x -10 + 6} \\ y\text{ = 2x - 4} \end{gathered}[/tex]Answer:
y = 2x -4