solve y' + ycos x = cos x