Solve y' + ycos x = cos x