So if you want to solve for c, the best thing to do is isolate the variable. So I personally don't enjoy dealing with fractions that much until the very end, so I am going to multiple the entire equation by [tex]d*g[/tex] to eliminate the fraction. So now the equation is [tex]cg+2dg=fd[/tex]. In order to isolate the c variable, subtract both sides by [tex]2dg[/tex], which makes it [tex]cg=fd-2dg[/tex]. Now divide both sides by g, [tex]c=\frac{fd-2dg}{g}[/tex]. So that's what c equals in terms of f, d and g.