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

to eliminate the fraction. So now the equation is

. In order to isolate the c variable, subtract both sides by

, which makes it

. Now divide both sides by g,

. So that's what c equals in terms of f, d and g.