Step-by-step explanation
A linear function has an equation of y = mx+b where m = slope and b = y-intercept. The function also has a line graph. By a line graph, the graph must have slope. That means the slope must not equal to 0 or undefined to be a linear function.
Further Step-by-step explanation
A linear function has both domain and range as set of all real numbers because you are able to solve for x-term when inputting any y-value or solve for y-term when inputting any x-value. We can also find the x-intercept by substituting the value of y to 0 and basically solve for x-term. If we want to know the y-intercept, we can substitute x-term to 0 and solve for y. But most people would only look at b-term from y = mx+b because b-term is the y-intercept of function.
Answer
From your question, the function is indeed a linear function. The m-term and b-term both are from y = mx+b where m = slope and b = y-intercept.
Therefore, from y=6x+2. The m-value would be 6 and b-value would be 2