Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=120
M:4/4
K:D
['a2 a2'  
X:1
L:1/8
Q:1/2=120
M:4/4
K:D
 fg |"D" a2 a2 fefg |"D" a2 a2 fefg |"D" a2 a2 f2 e2 |"D" [fd]3 e [fd]2 f2- |"D" f2 e2 d2 e2 | 
"D" fgfe d2 ef |"G" gfed"A" cABc |"D" d6 :: D2 |"A" Acec Acec |"D" dcde f2 f2 |"G" gfgf g2 a2 | 
"D" f3 g f4 |"A" Acec Acec |"D" dcde f2 ef |"G" gfed"A" cABc |"D" d3 c d2 :|  