Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
['A/G/ F>AA>B dedA BABd edef FAAB defe', 'D2 A/G/ FADA FA A/G/F GBEF GA'  
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
 A/G/ | F>AA>B dedA | BABd edef | FAAB defe | d/B/A/B/ dF E D2 :| A/G/ | FADA FA A/G/F | 
 GBEF GA B/A/G | FAEF defe | d/B/A/B/ dF E D2 :|  