Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:6/8
K:D
['dd/c/d AFD DFA ECA, DFA dfa', 'f/g/af ged cde fdB gec dcB AFA'  
X:1
L:1/8
M:6/8
K:D
 dd/c/d AFD | DFA ECA, | DFA dfa | ged cBc | dd/c/d AFD | DFA ECA, | DFA dfa |1 gec d3 :|2 
 gec d2 || g | fed f/g/af | ged cde | fdB gec | dcB AFA | dd/c/d afd | BB/A/B gec | dd/c/d AFD | 
 A,CE D2 :|  