code: function multiplyByInverse(node) {
    let denominator = node.args[1];
    if (Node.Type.isParenthesis(denominator)) {
      denominator = denominator.content;
    }
    if (!Node.Type.isOperator(denominator) || denominator.op !== '/') {
      return Node.Status.noChange(node);
    }
    // At this point, we know that node is a fraction and denonimator is the
    // fraction we need to inverse.
    const inverseNumerator = denominator.args[1];
    const inverseDenominator = denominator.args[0];
    const inverseFraction = Node.Creator.operator(
      '/', [inverseNumerator, inverseDenominator]);
  
    const newNode = Node.Creator.operator('*', [node.args[0], inverseFraction]);
    return Node.Status.nodeChanged(
      ChangeTypes.MULTIPLY_BY_INVERSE, node, newNode);
  }
docs: If `node` is a fraction with a denominator that is also a fraction, multiply by the inverse. e.g. x/(2/3) -> x * 3/2