Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
['A2 Ac e2 ce fg af fe', 'a2 ab'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
|: E2 | A2 Ac e2 ce | fg af fe ce | ed Bd dc Ac | Bc BA GE FG | A2 Ac e2 ce | fg af fe ce | 
 ed Bd dc Ac | BE GB A2 :: e2 | a2 ab c'a ec | f^e fg ae ce | a2 ab c'a ec | fa gb a2 ab | 
 c'b ag ag fe | fg af fe cB | A2 Ac e2 ce | fa gb a2 :|  