How did he solve this integral?

i don't understand how #(sin(t)+ abssin(t))=(sin(t)-sin(t))#
enter image source here