Integration by Substitution

Why are these definite integrals equal?
Extending an idea seen in Sam Shah's GeoGebra.

Information: Integration by Substitution