Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:9/8
K:Amix
['ecA c2 e ecA', 'a3 Ace agf'  
X:1
L:1/8
M:9/8
K:Amix
|: ecA c2 e ecA | dBG B2 d dBG | ecA c2 e ecA | dcB BcG A3 :| a3 Ace agf | gfg GBd gfe | 
 a3 Ace agf | dcB BcG A3 | a3 Ace agf | gfg GBd gfe | agf gfe fed | edc dcB cBA ||  