Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/2=72
M:2/2
K:D
['AFGA BAGF EDCE DFAB ddcd edcd BA^GB']  
X:1
L:1/8
Q:1/2=72
M:2/2
K:D
 AFGA BAGF | EDCE DFAB | ddcd edcd | BA^GB =ABcd | ffef gfed | B_B=cB AGFE | DEFA dBdf | 
 edce d2 d2 ||  