Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['fd/f/ b/a/g/f/ ee/d/ ef', "c'/b/ a/g/f/e/", 'edeg fede f2 df gfed edeg fage'  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
 c |"^p" fd/f/ b/a/g/f/ | ee/d/ ef | ag ee | gf d>e |"^for" fd/f/ b/a/g/f/ | ee/d/ ef | agec | 
 !fermata!d3 :: a | aea c'/b/ | a/g/f/e/ ef/g/ | a/g/b/a/ c'/b/d'/c'/ | c'2 b>a | aea c'/b/ | 
 a/g/f/e/ ea/g/ | f/d'/b/a/ g/a/b/g/ | a3 :: f |"^p" gfed | edeg | fede | f2 df | gfed | edeg | 
 fage | d3 :|  