Develop melodic lines utilizing the given motif according to the designated arrangement.
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
['D>E DE FG A2 BA EG', 'd>e dc BA E2'  
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
 D>E DE FG A2 | BA EG BA B<e | D>E DE FG A2 | BA EG D2 D2 || d>e dc BA E2 | BG EG BA B<e | 
 d>e dc BA E2 | BA EG D2 D2 |]  