Editing formula for finding Marshallian Demand with Cobb-Douglas utility function
$u=cx_1^adx_2^b$ is equivalent to $u=(cd)x_1^ax_2^b$
the values of $c$ and $d$ do not impact the optimal bundles. I'll provide complete working on your other question (Marshallian Demand for Cobb-Douglas).