Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=106
M:2/2
K:D
['D2 F2 BcdB E3 D F2 d2'  
X:1
L:1/8
Q:1/2=106
M:2/2
K:D
|:"^A" D2 |"D" F2 A2"G" BcdB |"D" AFED"A7" E3 D |"D" F2 A2"Bm" d2 ef |"Em" e4-"A7" e2 de | 
"D" fedB"Bm" d3 A |"G" BcdF"A" E3 A |"Bm" F2 B2"E7" E2 ^G2 |"A" A6 :|"^B" e2 |"A" ecBA"Bm" BcdB | 
"F#7" ^A4"Bm" B4 |"F#7" c2 f2"^/" edcB |"Bm" B4-"^/" B2 d2 |"D" dAGF"G" G3 A |"Em" BGdB"A" c2 BA | 
"Bm" d2 ef"G" gfed |"A" d4"^/" c3 B |"D" AFBA"A" GFED |"D" D6 |]  