The slope-intercept form of an equation of the line is:
[tex]y=mx+b[/tex]Where m is known as the slope and b as the y-intercept. We are being told that the y-intercept is -6 so we already have b=-6.
We still need to find the slope. In order to find it we can use the information about the x-intercept. The x-intercept is the x value that meets:
[tex]mx+b=0[/tex]We know that the x-intercept is so we have an equation for m (we also use the fact that b=-6):
[tex]m\cdot3-6=0[/tex]We add 6 at both sides of the equation:
[tex]\begin{gathered} m\cdot3-6=0 \\ m\cdot3-6+6=0+6 \\ m\cdot3=6 \end{gathered}[/tex]And we divide both sides by 3:
[tex]\begin{gathered} m\cdot\frac{3}{3}=\frac{6}{3} \\ m=2 \end{gathered}[/tex]Now that we found the slope we can write the complete equation of the line:
[tex]y=2x-6[/tex]Which means that the answer is the second option.
The slope-point form of an equation of the line is:
[tex]y-d=m\cdot(x-c)[/tex]Where m is the slope and (c,d) is a point through which the line passes.
We already know the slope, it's m=2 so we have:
[tex]y-d=2(x-c)[/tex]We need a point (c,d). If the line passes through that point then taking x=c and y=d is a solution to the equation in the slope-intercept form:
[tex]\begin{gathered} y=2x-6 \\ d=2c-6 \end{gathered}[/tex]If we take a random value for c, for example c=1 we get:
[tex]\begin{gathered} d=2\cdot1-6 \\ d=-4 \end{gathered}[/tex]So we know the line passes through point (c,d)=(1,-4). Then the point-slope form can be written as:
[tex]y+4=2(x-1)[/tex]