Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:D
['A D2 F A^GA BAF GEA DFA', 'G2 A dcd dcd AFD DFA =cBc'  
X:1
L:1/8
M:6/8
K:D
|: A | D2 F A^GA | BAF GEA | DFA dcd | fed cec | dBd cAc | BGB dcB | c^Bc edc | dAF G2 :: A | 
 dcd dcd | AFD DFA | =cBc cBc | edc Ace | dcd fed | cec dAF | GEA FDA | EFE D2 :|  