code: def test_res_q():
      x = var("x")
  
      assert res_q(3, 5, x) == 1
  
imports: from sympy.core.symbol import var
  from sympy.polys.polytools import pquo, prem, sturm, subresultants
  from sympy.matrices import Matrix
  from sympy.polys.subresultants_qq_zz import sylvester, res, res_q, res_z, bezout, subresultants_sylv, modified_subresultants_sylv, subresultants_bezout, modified_subresultants_bezout, backward_eye, sturm_pg, sturm_q, sturm_amv, euclid_pg, euclid_q, euclid_amv, modified_subresultants_pg, subresultants_pg, subresultants_amv_q, quo_z, rem_z, subresultants_amv, modified_subresultants_amv, subresultants_rem, subresultants_vv, subresultants_vv_2
label_desc: Use image node_id 5 for calling a global function with example usage: test_res_q() without return types