Find q in this quadratic equation.

Answer:q = 21, q=25
Step-by-step explanation:
we have two value of x so
when value of x is3 in the equation 3 x^2-10x+q= then,
3^2-10*3+q=0
9-30+q=0
9+q=30
q=21
Again when value of x is 5 put in the equation ans will come