Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:4/4
K:D
['A2 AB AFED FAAB A2 de fBBA', 'bfaf e2 de fBBA BcdB'  
X:1
L:1/8
M:4/4
K:D
"D" A2 AB AFED | FAAB A2 de |"G" fBBA Bcde | fdgf"A" edBd |"D" A2 AB AFED | FAAB A2 de | 
"G" fBBA BcdB |"A" AFEF"D" D4 ::"D" fgag fdde | (3fed ad fddf |"Em" efga beef | (3gfe be geeg | 
"D" fgaf bfaf | defd"G" e2 de | fBBA BcdB |"A" AFEF"D" D4 :|  