He was waiting for the Scotland Yard men. 
( He ( ( was ( waiting ( for ( the ( Scotland ( Yard men ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP He)) (VP (VBD was) (VP (VBG waiting) (PP (IN for) (NP (DT the) (NNP Scotland) (NNP Yard) (NNS men))))) (. .)))
He knew how far they were.
( He ( ( knew ( ( how far ) ( they were ) ) ) . ) )
(ROOT (S (NP (PRP He)) (VP (VBD knew) (SBAR (WHADVP (WRB how) (RB far)) (S (NP (PRP they)) (VP (VBD were))))) (. .)))