The D Major is played with a capo on the 3rd fret ... This is an F Major triad with a G note on the top, which is the add9 ...