getting divisor in division by multiplication cases