I am reading Rudin's Principle of mathematical analysis, in the section 'Stone-Weierstrass theorem', there is a steps that I don't understand:
$$ P_{n}(x)=\int_{-1}^{1} f(x+t)Q_{n}(t) dt $$ by changing variable, $$ P_{n}(x)=\int_{-x}^{1-x} f(x+t)Q_{n}(t) dt $$
I don't understand what Rudin did here, could anyone explain it to me?