Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:G
['edc BAG', 'e2 c e2'  
X:1
L:1/8
M:6/8
K:G
 gf | edc BAG | BcB Bgf | edc BAG | ABA Agf | edc BAG | BcB B2 c | def gdB | ABA A :| Bc | 
 d2 B d2 B | d2 B dgf | e2 c e2 c | e2 c e2 f | g2 a b2 a | gfe dBc | def gdB ABA A :|  