Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=100
M:3/4
K:G
['B>A GB de =f>e dB cc B2', 'G3 d/e/ =f2 ed d^f g2 Bd'  
X:1
L:1/8
Q:1/8=100
M:3/4
K:G
"^moderate" G/A/ | B>A GB de | =f>e dB cc | B2 AG BA | A3 DGA | B>A GB de | =f>e dB cc | B2 GA GG | 
 G3 || d/e/ | =f2 ed d^f | g2 Bd =fe | e2 dB GB | A3 DGA | B>A GB de | =f>e dB cc | B2 GA GG | 
 G3- G3 |]  