( There ( ( are ( ( two types ) ( of ( waves ( ( transverse and ) longitudinal ) ) ) ) ) . ) )
(ROOT (S (NP (EX There)) (VP (VBP are) (NP (NP (CD two) (NNS types)) (PP (IN of) (NP (NP (NNS waves)) (ADJP (JJ transverse) (CC and) (JJ longitudinal)))))) (. .)))
There are two types of waves transverse and longitudinal .
(ROOT (S (NP (EX There)) (VP (VBP are) (NP (NP (CD two) (NNS types)) (PP (IN of) (NP (NN surface) (NNS waves))))) (. .)))