Answer:
2
Step-by-step explanation:
The equation of a line is given as
y = mx + c where m is the slope, c is the intercept, y is the dependent variable while x is the independent variable.
As such, given that the intercept is 12, the independent variable is 3 and the value of the dependent variable would be 18
substituting into the equation of a line
18 = m(3) + 12
subtract 12 from both sides
18 - 12 = 3m
6 = 3m
Divide both sides by 3
6/3 = 3m/3
2 = m
m = 2
The slope is 2