in general, equation of the line is in the form $y = mx + c$, where $m$ is the slope of the line.
in your case, $y= 2x - 6$, so yes,..the slope is $2$