Linear function:

Quadratic function:

m, a, b, c are any real number.
use distributive property

It's a quadratic function.

quadratic term: ax²
linear term: bx
constant term: c
Therefore your answer is:
quadratic term = 3x²
linear term = -6x
constant term = -7