Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:Amin
['EAA A2 B cAB', 'aea aef'  
X:1
L:1/8
M:6/8
K:Amin
 G | EAA A2 B | cAB cAG | EDE GBG | DGG GEA | EAA A2 B | cAB cde | gag ege | gBG A2 :: a | 
 aea aef | gef ged | aea aef |1 gef g3 | aea aef | gef g3 | gag ege | dBA G2 :|2 gfe def | 
 gbg faf | ege def | gag ege | dBG A2 ||  