Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['EA A2 ABcd egfd cBAG EGGF G2', 'eaag a2 ga'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
"^A dorian" EA A2 ABcd | egfd cBAG | EGGF G2 AB | cABG AGED | EAGB ABcd | eaag efge | d2 Bd efge | 
 dBGB A4 :| eaag a2 ga | bgab gedB | d2 Bd edBd | egfg edBA | eaag a2 ga | b2 ab gedB | 
 d2 Bd efge | dBGB A4 :|  