This question already has an answer here:
The right-hand side is $$\int_0^11+x+x^2+…+x^{n-1}dx=\int_0^1\frac{1-x^n}{1-x}dx$$ The left-hand side is a similar integral, with $x$ replaced by $1-x$.