suffered through the horrible pains of a death by cancer 
(ROOT (S (VP (VBD suffered) (PP (IN through) (NP (NP (DT the) (JJ horrible) (NNS pains)) (PP (IN of) (NP (NP (DT a) (NN death)) (PP (IN by) (NP (NN cancer))))))))))
(ROOT (S (VP (VBD ) (PP (IN ) (NP (NP (DT ) (JJ ) (NNS )) (PP (IN ) (NP (NP (DT ) (NN )) (PP (IN ) (NP (NN ))))))))))