Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:4/4
K:D
['EDB,D A,DFA d2 cd', 'eAce f2 dB FBdf fecB ^Aceg fd'  
X:1
L:1/8
M:4/4
K:D
 A, D2 F EDB,D | A,DFA d2 cd | eA A/A/A Acdf | eA A/A/A AGFE | D2 FD EDB,D | A,DFA d2 cd | 
 Bgfe dcBc |1 eddc d4 :|2 eddc defg |: a2 fd Adfa | gfgf eAce | f2 dB FBdf | fecB ^Aceg | 
 fd d/d/d ADFA | BAGF GFED | A,DDF GB,DG |1 Acec defg :|2 Acec d4 ||  