a cos x + b sin x = R cos (x - a)

If you cannot see the PDF below please visit the help section on this site.