I'm a little stumped on these two problems, we have to input our answers online, so I'm not sure if my answers are wrong, or if I'm just inputting them incorrectly. Here are the two problems:

Find the difference quotient off(x)=3x3+x-5.

Just type in the expression after simplifying completely as if you were going to type it in a calculator. Do not use an =, ie, DQ = or y=. No spaces and placex-terms in descending order and the constant term last.

The answer I'm coming up with is: 9x^2+9xh+h^2

And the other problem is Find the domain ofWrite your answer in interval notation. Use a lower case u for union, inf for , -inf for , all other symbols are normal. Remember no spaces. No rounding.

To which I answer: (-inf,5)u(5,inf)

It's been awhile since i've done domain, so I'm a bit rusty.

Any help would be greatly appreciated, thanks you in advance!