y=3x-6
Step-by-step explanation
the equation of a lines is given bne
where m is the slope and b is the y-intercept
so
Step 1
the slope of a line si given by:
we are given the intercepts ( also points of the line)
so
P1=(2,0)
P2=(0,-6)
replace
so,the slope of the line is 3
Step 2
now, we have the slope and the given y-intercept, we can replace in the equation of the line
so, the answer is
y=3x-6
I hope this helps you