Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['AGFD ED']  
X:1
L:1/8
M:4/4
K:D
 DFAF GFEF | D2 FA dABG | F2 AF GABG | AGFD A,CEC | DFAF GFEF | D2 FA dABG | F2 AF GABG |1 
 AGFD ED D2 :|2 AGFD ED D e | fddf gbag | fddf ecBA | fddf gfec | dcde fdec | dfaf g2 ag | 
 f2 df ecAF | G2 EG FAdB ||1 AGFD ED De :|  