Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['EDB,D D2 FA BAFA', 'AFEF D2'  
X:1
L:1/8
M:4/4
K:D
|: dD D2 EDB,D | D2 FA BAFA | dDcD BDAD | EDAD BAFA |1 dD D2 EDB,D | D2 FA BAFA | (3Bcd ec dBAF | 
 EDEF D2 (3ABc :|2 DEFD EDB,D | D2 FA BAFA | (3Bcd ec dBAF | EDEF D2 ag |: fgab afde | fdad bdad | 
 efga ge=cd | e=cgc acge | fgaf bfaf | gfeg fdB^c | defd ecdB |1 AFEF D2 ag :|2 AFEF D2 (3ABc ||  