Determine the values of p and q for which the function: f(x)= x^4 - 6x^3 - px^2 + 6x + q gives a remainder of zero when divided by x+1 and (x-5).