Solution 1:
Let $u = 1-x \implies du = -dx$
Our integral becomes
$$\int_{1}^{0} (1-u)^a (u)^b (-du)$$
The negative differential flips the integral back and we are done.
This is exactly what you did, but to answer
idk if I can let u = x.
We first start by noting that we can let $x=1-u$, we note that this is a bijective substitution on the interval $[0,1]$. We also note that integrals allow dummy variable substitutions, so there is nothing special about the symbols $x$ or $u$, and so we can change them to be whatever we like.
Solution 2:
Our function is the integral definition of the Beta function, which is symmetric in $a,b$ because
$$\operatorname{B}(a,b) = \frac{\Gamma(a)\Gamma(b)}{\Gamma(a+b)} = \frac{\Gamma(b)\Gamma(a)}{\Gamma(b+a)} = \operatorname{B}(b,a)$$