Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/16
M:2/4
K:D
['d4 A2Bc', 'fg a2d2 Tf4'  
X:1
L:1/16
M:2/4
K:D
 D2 | F2A2 d4 | A2Bc (dc)BA | B2e2-e2E2 | F2A2{c} d4 | A2Bc (dc)BA | B2d2d2 :| fg | a2d2 Tf4 | 
 d4 ef (gf)ed | c2e2-e2 fg | a2d2 Tf4 | d2ef gfed | A2d2-d2 fg | a2d2 Tf4 | d2ef (gf)ed | 
 c2e2-e2E2 | F2G2 d4 | A2Bc (dc)BA | B2d2d2 ||  