Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['F2 AF dFAF', 'd2 fd Adfd'  
X:1
L:1/8
M:4/4
K:D
 F2 AF dFAF | DFAF GBAG | F2 AF dFAF | G2 FG EFGE | DFAF dFAF | DFAF GBAG |1 FAdf ecAB | 
 cAed cAGE :|2 FAdf edef | g2 ec Acec || d2 fd Adfd | eA A2 afge | d2 fd Adfd | cdef gefe | 
 d2 fd Adfd | eA A2 g2 fg | afge f2 ed |1 cded cABc :|2 cded cAGE ||  