Determining the term symbol

Shown in blue boxes, with the 5 components from the D state shaded in red