This is one of the example from the book named Higher Engg. Mathematics III by Dr. Kachot

Obtain the fourier series for:

Here the value of

Please explain the above step. Didn't get which integration formula the author applied. Also the minus sign is bugging me. Where did it come from?