We take a derivative using the chain rule. You can explore this function here: https://www.geogebra.org/calculator/weqpaekr
No download links available.