The point-slope form:
[tex]y-y_1=m(x-x_1)[/tex]
We have the point (5, 18) and m = 2.
Substitute:
[tex]y-18=2(x-5)[/tex]
The slope-intercept form is y = mx + b
[tex]y-18=(2)(x)+(2)(-5)\\y-18=2x-10\qquad|+18\\y=2x+8[/tex]
x-intercept:
substitute y = 0 to the equation of the function:
[tex]0=2x+8\qquad|-8\\-8=2x\qquad|:2\\x=-4[/tex]
y-intercept:
substitute x = 0 to the equation of the function:
[tex]y=2(0)+8\\y=8[/tex]