You don't need to look at the characteristic equation at all. If [itex]y= -te^{3t}[/itex] then [itex]y'= -e^{3t}- 3te^{3t}= -(1+ 3t)e^{3t}[/itex] and y"= [itex]-3e^{3t}- 3(1+ 3t)e^{3t}[/itex][itex]= -(6+ 9t)e^{3t}[/itex]. Putting those into the equation we have [itex]-(6+ 9t)e^{3t}- p(1+ 3t)e^{3t}- qte^{3t}= ((-6- p)+(-9-3p-q)t)e^{3t}= 0[/itex] for all t. Since [itex]e^{3t}[/itex] is never 0, we must have (-6- p)+ (-9-3p-q)t= 0 for all t which means we must have -6-p= 0 and -9- 3p- q= 0.
Of course, it is also true that eat will be a solution if and only if a is a root of the characteristic equation and that teat will be a solution if and only if a is a double root of the characteristic equation, which means that the characteristic equation must reduce to (x-a)2= 0.