Answer with Step-by-step explanation:
The slope of the line passing through the points (a,b) and (c,d) is given by:
m=

Here, (a,b)=(0,4) and (c,d)=(7,18)
Hence, slope of line=m=

=

= 2
Also, y-intercept is the point where value of x equals 0
Clearly, line passes through (0,4) means y-intercept=4
Equation of line is given by:
y=mx+c where m is the slope and c is the y-intercept
Equation of line= 2x+4
Hence, Equation of line is:
2x+4