Solve for m c=2m+d