Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['E F2 FE FGAB Ad d2 Adfd', 'D2 defd BcdB cBAc BF F2 dF'  
X:1
L:1/8
M:4/4
K:D
 E | F2 FE FGAB | Ad d2 Adfd | e2 ef edcB | Adfd efdB | AFFE FGAB | Addc defg | afdf eB B2 | 
 ABGE FD D2 :: defd BcdB cBAc BF F2 | dF F2 cFBF | AFEF DEFE | FADE FAAF | Addc defg | afdf eB B2 | 
 ABGE FD D2 :|  