Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['D2 D>F A2 A>F A>Bd>A F2 E>D', 'B>AB>c d2 f>e e<dd>B A>Bd<A F2 E>D'  
X:1
L:1/8
M:4/4
K:D
 D2 D>F A2 A>F | A>Bd>A F2 E>D | E2 E>F E2 E>f | g>fe<d B>A B/c/d | D2 D>F A2 A>F | A>Bd>A F2 E>D | 
 G>BG<B F>AF<A | E>FG>A B>AB>c || d2 f>e e<dd>B | A>Bd<A F2 E>D | e2 e>f e2 e>f | g>fe<d B>AB>c | 
 d2 f>e e<dd>B | A>Bd<A F2 E>D | G>BG<B F>AF<A | E>FG>A B>A B/c/d ||  