I've calculated the following integral by substitution $z=x^2$
$$\int x\cdot\cos(x^2)\,\mathrm d x=\frac12\int\cos(z)\,\mathrm dz=\frac12\sin(z)+c=\frac12\cos(x^2)+c$$
with $c\in\mathbb R$.
My first question is about the constant $c$. Is it the same constant when you resubstitute?
And second, I've used the trick $z=x^2\leadsto \mathrm dz=2x\,\mathrm dx\leadsto \mathrm dx=\frac{\mathrm dz}{2x}$. Can you place $\Leftrightarrow$ between these 'transformations'? Or just $\Rightarrow$ or none of them?