Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:4/4
K:D
['AG F2 A2 (3BcB A2 de fd', 'af df'  
X:1
L:1/8
M:4/4
K:D
|: AG | F2 A2 (3BcB A2 | de fd (3BcB AG | FA dA Bc df | e2 e2 e2 AG | F2 A2 (3BcB A2 | 
 de fd (3BcB AG | FA dA Bc df | e2 e2 d2 :: fg | af df af df | de fd (3BcB AG | FA dA Bc df | 
 e2 e2 e2 fg | af df af df | de fd (3BcB AG | FA dA Bc df | e2 e2 d2 :|  