I am looking for a way to expand the function $e^{\sin x}$ into Taylor series without employing the cumbersome Taylor formula and come across this thread: Finding the Maclaurin series of $e^{\sin x}$ by comparing coefficients
I understand almost everything of Bernard's answer except the red underlied part. How do you obtain $(c-\dfrac{1}{2})x^2+(d-\frac{b}{2})x^3$ and so on?

Looks like they are simply combining coefficients by exponent. That is when you multiply out the polynomial you'll have $c$ a coefficient of $x^2$ and $-\frac{a}{2}$ a coefficient. So $$cx^2 -\frac{a}{2}x^2 =(c-\frac{a}{2})x^2.$$ And so on of course.