The Substitution Rule (Integration)

Thank you for the material it has been very helpful so far,it is easy to understand and follow. However, in this screen shot the integration of a Sin(x) should be a - Cos(x) as recorded in the FE Handbook

.