Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['AGEG AG'  
X:1
L:1/8
M:4/4
K:G
"G" DGGB"C" AGEG |"G" dedB"C" AG E2 |"Em" GAB g2 fed |"D" BAGF"G" GA G2 :|"G" dedB"C" AGEG | 
"Em" dedB"D" AG A2 |"Em" dedg"G" bagf |"D" edBA"G" GF G2 :|  