Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:A
['A2 eA', 'cAAD AAec ABBA'  
X:1
L:1/8
M:4/4
K:A
|: A2 eA gaAc | cAeA gacB | A2 eA gaea | faea faec | A2 eA gaAc | cAeA gacB | A2 eA gaea | 
 faea fecB :: cAAD AAec | ABBA Beed | cAAD AAec | ABBA B2 ed |1 cAAD AAec | ABBA Beed | eAfa eAce | 
 dBfa gedB :|2 cAAD AAeA | AeeA fAAg | aefa eAce | dfed cegB ||  