Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['FD EF/G/ AB/A/ AB', 'cA Bc/d/'  
X:1
L:1/8
M:4/4
K:D
 G | FD EF/G/ AB/A/ AB | cA Bc/d/ ec/A/ AG | FD EF/G/ AB/A/ AB | cB/A/ GF/E/ FD D2 || d | 
 cA Bc/d/ ef/e/ ed | cA Bc/d/ ec/A/ Ad | cA Bc/d/ ef/e/ ed | cB/A/ GF/E/ FD D2 ||  