Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:3/4
K:D
['A AAAFGE FFFDEC DAAGGF F2 E2 z']  
X:1
L:1/8
M:3/4
K:D
 A | AAAFGE | FFFDEC | DAAGGF | F2 E2 z A | AdfdAF | GE e3 c | dBAFGE | E2 D2 z |]  