Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['de f2 fd', 'f2 gfed'  
X:1
L:1/8
M:2/2
K:D
 de |:"D" f2 fd f2 fd | f2 fd"A7" cAeA |"D" f2 fd"G" gfed |"A7" cABc"D" defg ::"D" a2 af"G" b2 ba | 
"Em" g2 ge"A7" a2 ag |"D" f2 fd"G" gfed |"A7" cABc |1"D" defg :|2"D" d2 |]  