You wonder what youre going to be when you grow up, lawyer Smith said. 
( ( You ( wonder ( what ( youre ( going ( to ( be ( when ( you ( grow up ) ) ) ) ) ) ) ) ) ) ( , ( ( lawyer Smith ) ( said . ) ) ) )
(ROOT (S (S (NP (PRP You)) (VP (VBP wonder) (SBAR (WHNP (WP what)) (S (VP (VBP youre) (S (VP (VBG going) (S (VP (TO to) (VP (VB be) (SBAR (WHADVP (WRB when)) (S (NP (PRP you)) (VP (VBP grow) (PRT (RP up))))))))))))))) (, ,) (NP (NN lawyer) (NNP Smith)) (VP (VBD said)) (. .)))
You want to be a lawyer when you grow up.
( You ( ( want ( to ( be ( ( a lawyer ) ( when ( you ( grow up ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP You)) (VP (VBP want) (S (VP (TO to) (VP (VB be) (NP (NP (DT a) (NN lawyer)) (SBAR (WHADVP (WRB when)) (S (NP (PRP you)) (VP (VBP grow) (PRT (RP up)))))))))) (. .)))