Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:12/8
K:D
['e2 d cBA', 'd2 c Bcd c2 B A2'  
X:1
L:1/8
M:12/8
K:D
 d3 d2 e f2 g a2 f | e2 d cBA e2 d cBA | d3 d2 e f2 g agf | e2 d cBA d3 d3 :: d2 c Bcd c2 B A2 F | 
 G2 F E2 F G2 A B2 c | d2 c Bcd c2 B A2 G | F2 G E2 F D3 D3 :|  