Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:C
['BAFA dAFA GFED FAAB AFEF ABde', 'd2 faaf efde fdec dcBA'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:D] a g dffee ecd!p! a[Q:1/8=360].AddA BAFA | dAFA GFED | FAAB AFEF | ABde fe e2 | 
 AddA BAFA | dAFA GFED | FAAB AFEF | ABde fd d2 :| faaf efde | fdec dcBA | faaa bafa | ABde fd d2 | 
 faaf efde | fdec dcBA | FGAF GABG | ABde fd d2 :|  