Craft a musical work adhering to the specified theme and structure.
X:1
L:1/8
M:6/8
K:D
['A2 B']  
X:1
L:1/8
M:6/8
K:D
 A2 B c2 B | c2 d cAG | A2 d dcd | (3.g.f.e .d cAG | A2 B cAG | dcB{d} cAG | F.A.A{A} GE{B}A | 
 D3{A} D3 :|  