Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/16
M:4/4
K:D
['F8 G6 FG A2AB AFD2 E6 FG', 'c8 B2Bc dcB2 A6 FG A2d2 c4'  
X:1
L:1/16
M:4/4
K:D
 F8 | G6 FG | A2AB AFD2 | E6 FG | A2d2 c4 | B2BA FED2 | E2EF GFE2 |1 D4 ABAG :|2 D4 DFAc || d8 | 
 c8 | B2Bc dcB2 | A6 FG | A2d2 c4 | B2BA FED2 | E2EF GFE2 |1 D4 DFAc :|2 D4 ABAG ||  