can you help me understand? How do you find domain and range for y-mx+b? thank you.

all polynomials have a domain of all real numbers.

Any straight line which is not a simple

y = k

horizontal line also has a range of all real numbers.

To see this, just draw any line. It extends forever both left and right, and up and down. (unless ut is horizontal)