For this case, we have:

Where,
m: slope of the linear function
(xo, yo): ordered pair that belongs to the linear function.
We have then that the slope of the line is:

The line passes through the point (-1,4), therefore we have:

Rewriting we have:
Answer:
An equation of the line that passes through the point (-1.4) with slope 2 is:
