Subtract fg from both sides of the equation.
Move all terms not containing c to the right side of the equation.
Subtract 2 from both sides of the equation.
Add fg to both sides of the equation.
Multiply both sides of the equation by d.
Combine fg and d.
Reorder f and d.
Reorder -2d and dfg.
Solve for c c/d+2=f/g