Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:G
['AFD G3', 'ecA B2 g gfg abg afd g3'  
X:1
L:1/8
M:6/8
K:G
 G3 AFD | G3 Bcd | e2 g dBG | ABG AFD | G3 AFD | G3 Bcd | e2 g dBG |1 AGF GBD :|2 AGF GBd || 
 g3 bge | d^cd ecA | B2 g gfg | abg afd | g3 bge | d3 e^cA | Bdg dBG |1 AGF GBd :|2 AGF G3 ||  