Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:D
['', 'de fdde fdge', 'fg a3 f g2 ag |1 fdec'  
X:1
L:1/8
M:4/4
K:D
 de |: fdde fdge | fddB =c2 de | fdde fdge |1 fdec d2 de :|2 fdec defg |: a3 f g2 fg | abaf g2 fg | 
 a3 f g2 ag |1 fdec defg :|2 fdec d2 de ||  