The slope for a line written in the form is m. You may have mistakenly used the coefficient of y instead of x. The correct answer is 6.