p(x)+x^2-2x+7

What is the domain of P?

There is no equal sign, so there is no function.

did you mean p(x)=x^2-2x+7 ?

if so, p does not have a domain, it has a range. The domain of x is all real numbers. The range of P(x) then is ..

highest value: + infinity
lowest value: 7
range of p(x) is 7 to infinity.