See the two diagrams individually.
(a)
and
(b).