Given (x+3)(x + 3)(x+3) and (x−5)(x - 5)(x−5) are both factors of f(x)f(x)f(x), where
Find the values of p p\,p and qqq.