f(x) = x^2(1-x)^2
f(1-x) = (1-x)^2(x)^2
yep. that's the theory way to understand the question.
the vic approach, as noted by dan above, is probably easier - but, if you're good enough at theory and algebra, then this works too.