State the domain and range for following:

A) y=4x
B) y=12
C) y=x^2-4x+1
D) y=x^2+2x+1
E) y=3x^3-x^2-1
F) y=3x^3+x^2-1

domain for any polynomial is all reals

range for any odd-degree polynomial is all reals

That just leaves
B) range=12
C) y = (x-2)^2 - 3, so range is y >= -3
D) y = (x+1)^2, so range is y >= 0