Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:4/4
K:D
['(3ABA FA dfaf gaba gfed', "(3efe ce aec'e be^ge"  
X:1
L:1/8
M:4/4
K:D
"^A" FG | (3ABA FA dfaf | gaba gfed | cded cdBc | ABGA FFG^G | (3ABA FA dfaf | gaba gfed | 
 cbag fABc | d2 f2 d2 :|"^B" e2 | (3efe ce aec'e | be^ge aebe | (3efe ce aec'e | be^ge a4 | 
 (3aba ga ea c2 | (3aba fa da A2 | (3gag Gg (3fgf Af | eABc d2 :|  