Craft a musical work adhering to the specified theme and structure.
X:1
L:1/8
M:4/4
K:D
['(3ABc d>fe>d B>AF>A d>fe>d (3B2 d/d/ d>e', 'd2 (3dcB A2 d>e f>gf>e d>ed>B A3'  
X:1
L:1/8
M:4/4
K:D
|: (3ABc | d>fe>d B>AF>A | d>fe>d (3B2 d/d/ d>e | f>AA>f e>d (3Bcd | e2 e>f e2 (3ABc | 
 d>fe>d B>AF>A | d>fe>d (3B2 d/d/ d>e | f>AA>f e>dB>c | d2 d>c d2 :: (3dcB | A2 d>e f>gf>e | 
 d>ed>B A3 F | G>FG>A Bc (3dcB | e2 e>f e2 (3ABc | d>fe>d B>AF>A | d>fe>d B2 d>e | f>AA>f e>dB>c | 
 d2 d>c d2 :|  