Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:6/8
K:D
['AGF EFG', 'd2 e fdB', 'D2 d dcd'  
X:1
L:1/8
M:6/8
K:D
|: AGF EFG | FEF D2 d | AGF EFG | B2 A Bcd | AGF EFG | FEF D2 A | def edc | B2 A Bcd :: d2 e fdB | 
 c2 d ecA | d2 e fdB | g2 e fga | d2 e fdB | c2 d ecA | def edc | B2 A Bcd :: D2 d dcd | E2 e ede | 
 D2 d dcd | B2 A Bcd | D2 d dcd | E2 e efg | agf edc | B2 A Bcd :|  