$I_1 =\int \cos (3x-\dfrac{\pi}{5}) dx = \dfrac{1}{3} \int \cos (3x-\dfrac{\pi}{5}) d(3x-\dfrac{\pi}{5}) =\sin (3x-\dfrac{\pi}{5}) + C$
$I_2 = \int \sin (\dfrac{x}{2}+\dfrac{\pi}{7}) dx =2\int \sin (\dfrac{x}{2}+\dfrac{\pi}{7}) \ d(\dfrac{x}{2}+\dfrac{\pi}{7}) =-2\cos (\dfrac{x}{2}+\dfrac{\pi}{7})+C$