Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:D
['f3 edc d2 A BAG FAF', 'f3 afd'  
X:1
L:1/8
M:6/8
K:D
|: DFA f3 | edc d2 A | BAG FAF | E3 DFA | BAG f3 | edc d2 A | BAG FAF | E3 D3 :| f3 afd | g3 faf | 
 bag faf | e3 ede | f3 afd | edc d2 A | BAG FAF | E3 D3 :|  