Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:D
['G2 FG', 'f fddc dfaf gfed cdeg f3 a'  
X:1
L:1/8
M:4/4
K:D
 DFAd f2 ef | d3 e fdAF | G2 FG E3 F | G2 FG EFGE | FAAF DF A2 | B2 BA Bcde | faaf gece | 
 eddc d3 f :: fddc dfaf | gfed cdeg | f3 a gfed | cAAG A3 G | FAAF DF A2 | B2 BA Bcde | faaf gece | 
 eddc d3 f :|  