Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:Amin
['A2 cA BcdB ca a2 aged', 'A3 B c3 d eaag'  
X:1
L:1/8
M:4/4
K:Amin
 A2 cA BcdB | ca a2 aged | (3Bcd ed BcdB | cBAc BGEG | A2 cA BcdB | ca a2 aged | eAce fedc | 
 (3Bcd BG A3 z :: A3 B c3 d | eaag a3 b | c'bac' bage | fedf edBG | A3 B c3 d | eaag a2 ag | 
 eAce dBGB | A2 AG A3 z :|  