Solve for x bx-c=ax+d