The vertical displacement sss (in metres) of a high-performance drone during a test maneuver is modelled by the polynomial function
s(t)=2t4+pt3−8t2+qt+22 s(t) = 2t^4 + pt^3 - 8t^2 + qt + 22 s(t)=2t4+pt3−8t2+qt+22where ttt represents the time in seconds after the maneuver begins, and ppp and qqq are constant coefficients.
When s(t)s(t)s(t) is divided by (t+1)(t + 1)(t+1), the remainder is 777. Show that p+q=9p + q = 9p+q=9.
When s(t)s(t)s(t) is divided by (t−2)(t - 2)(t−2), the remainder is 101010. Find the value of ppp and the value of qqq.