let f be a function defined by f(x)=

2x- x^2 for x is less than or equal to 1

x^2 +kx +p for x>1

for what values of k and p will f be continuous and differentiable at x=1

i got p=6 and k=-2 but i don't think that is correct, also shouldn't there be more than one answer? please help!!(Doh)