Solve for w (12ds)/w=cd