Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:C
['F2 d', 'cBA fed'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:D] .abc (A/G/) | FDD F2 d | cAA BAG | AFD F2 d | cAF GAG | FDD F2 d | cAA cde | fge cAG | 
 EDD D2 :: A | cBA fed | cAA A2 B | cBA fed | cAF G2 A | cBA fed | cAA cde | fge cAG | EDD D2 :|  