Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['f2 fe', 'f2 d2 A3 F G2', 'DFAd f2 fe f3 f'  
X:1
L:1/8
M:4/4
K:D
 de | f2 fe fd AF | G2 B2 A>Bc/ d>e | f2 fe agfe | f2 ed e2 de | f2 fe fd AF | G2 B2 A>Bc/ d>e | 
 faaf gfed | cdec d3 :| F3 E FD FA | f2 d2 A3 F | G2 E2 E3 F | GFAF B2 A2 | A2 FG A2 (3FGA | 
 f2 d2 A3 F | G2 e2 E2 FE | D8 | F3 E FD FA | f2 d2 A3 F | G2 e2 e3 f | gfaf bfaf | dADF ADFA | 
 f2 d2 A3 F | G2 e2 ef ec | d8 |: fdAF DFAd | f2 fe f3 f | gecA cega | baa^g a2 f>=g | afdA DFAd | 
 f2 fe f3 f |1 gafd egec | (3dcB AF D4 :|2 g4 fedc | d8 :|  