Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['dedB ABde fd d2 edBA FAdB AF', 'd2 fd adfd egfe'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dedB ABde | fd d2 edBA | FAdB AF F2 | EDEG DFAc | dedB ABde | fd d2 edBA | FAdB AF F2 | 
 EDEG D2 FA :| d2 fd adfd | egfe dB B2 | d2 fd adfd | egfe d2 cd | d2 fd adfd | egfe dB B2 | 
 defg a3 b | agec dgfe :|  