code: def qr(expr):
      return QofQR(expr), RofQR(expr)
  
imports: from sympy.matrices.expressions import MatrixExpr
  from sympy.assumptions.ask import Q
label_desc: Use image node_id 2 for calling a global function with example usage: qr(expr) and returns: QofQR,  RofQR