C/d+2=f/g solve for c