Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['', 'B d>FF>E D>FA>F d>GG>E B>EE>c d>FF>E D>EF>G', 'd>ef>d c>de>c'  
X:1
L:1/8
M:4/4
K:D
 B |: d>FF>E | D>FA>F | d>GG>E B>EE>c | d>FF>E D>EF>G | A>BA>G F>D D2 :| d>ef>d c>de>c | 
 d>ef>d B>A A2 | d>ef>d c>de>c | A>BA>G F>D D2 :|  