Given , solve for where .
Substitute for every in the function.
Remember the middle term when you expand .