Analysis of (A.)
Subject, [you.]
Predicate, train.
Object, child.
Adj. mod. of obj., a.
Adv. modifiers of pred., up, in the way he should go.
Analysis of (B.)
Kind, an adj. clause, mod. way.
Subject, he.
Predicate, the verb-phrase, should go.
Analysis of (A.)
Subject, [you.]
Predicate, train.
Object, child.
Adj. mod. of obj., a.
Adv. modifiers of pred., up, in the way he should go.
Analysis of (B.)
Kind, an adj. clause, mod. way.
Subject, he.
Predicate, the verb-phrase, should go.