Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['d2 cB'  
X:1
L:1/8
M:4/4
K:D
"D" d2 cB d2 cB |"D" d d3 z DFA | d2 cB A2 BA |"A7" c4 z2 A2 | c2 BA c2 BA | c c4 z B2 | 
 A A2 A BcBA |"D" F4 z A Bc ||"D" d2 cB d2 cB | d d4- d z2 | z ddd fedB- |"G" B3 z"A7" A3 ^A | 
 B^ABc"D" d3 e |"D" f2 dB"A" A3 B |"A7" BAB=c ^c2 f2 |"D" d8 ||  