a(b+c)=bc

solve for c oops

ab+ac = bc

ab = bc-ac
ab = c(b-a)
c = ab/(b-a)