Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['GFED- D2 AD', 'fedB EGBe d=cBA B2 BA B2 AG'  
X:1
L:1/8
M:4/4
K:D
 ABde fa (3fed | e3 f edBA | BFGA G3 F | GAGF GFED- | D2 AD GADA- | AFGA GFED- | D2 AD ABde | 
 f3 g fedB :| EGBe d=cBA | B2 BA B2 AG | EGBd =cBAG | ABAG E2 DE | F2 FD G2 GE | A2 AB F4 | 
 ABAG ABAG |1 F4- FA (3FED :|2 ABde f a3 ||  