Hi, I am struggling with the following question >.<

I tried, but could not come up with anything. Thank you in advance.a) 8x^3 + 10x^2 -px - 5 is divisible by 2x-1. There is no remainder. Find the value of p.

b) When x^6+x^4-2x^2+k is divided by 1+x^2, the remainder is 5. Find the value of k.