( ( ( ( A switch ) ( from ( fossil fuels ) ) ) ( to ( ( wind ( , ( wave ( and ( solar energy ) ) ) ) ) ( within ( 40 years ) ) ) ) ) . )
(ROOT (NP (NP (DT A) (NN switch)) (PP (IN from) (NP (JJ fossil) (NNS fuels))) (PP (TO to) (NP (NP (NN wind) (, ,) (NN wave) (CC and) (JJ solar) (NN energy)) (PP (IN within) (NP (CD 40) (NNS years))))) (. .)))
A switch from fossil fuels to wind, wave and solar energy within 40 years.
(ROOT (S (NP (NP (NNP Solar)) (CC and) (NP (NN wind))) (VP (VBP are) (ADVP (RB still)) (ADJP (JJ expensive)) (PP (VBN compared) (PP (TO to) (NP (JJ fossil) (NNS fuels))))) (. .)))