Solve the equation for c\displaystyle {c}

cw+nq=cd+g\displaystyle {c}{w}+{n}{q}={c}{d}+{g}

t=\displaystyle {t}=