Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
['d2 D2 F2 A2 d2 dd d3', 'A2 (A/B/c/d/) e2 ee e2 de f2'  
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
 A/B/c/ | d2 D2 F2 A2 | d2 dd d3 f | e2 Ag f2 Ag | fagf eABc | d2 D2 F2 A2 | d2 dd d3 f | 
 e2 a2 ^gbag | a2 AA A2 || (A/B/c/d/) | e2 ee e2 de | f2 ff f2 dc | B2 cd edcB | ^A2 FF F2 A2 | 
 BFdB cAec | dFfd eFge | (3gab (3gfe d2 c2 | B2 BB B2 (A/B/c) | d2 DD D2 (d/e/f) | 
 e2 EE E2 (e/f/g) | fdec dBed | c2 AA A2 GF | GBed cBAG | FAdc BAGF | (3Edc (3BAG F2 E2 | 
 D2 DD D2 |]  