Answer:

Step-by-step explanation:
Let the equation of the line be: 
where m is the slope and b is the y-intercept.
The given straight line has a y-intercept at 
The equation is of the form 
The line passes through the point (2,4).
Let us substitute x=2, and y=4 to find the value of m.


The slope is 
Hence the equation of the line is 