Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/2
K:Amin
['E^DEF GFGA BdAF', 'efge fgaf'  
X:1
L:1/8
M:2/2
K:Amin
 D | E^DEF GFGA | BdAF DFAF | E^DEF GFGA | BdAF BE E :| ^d | efge fgaf | efge fddf | efge fgaf | 
 gfed Bee^d | efge fgaf | efge fddf | eBBA BcAF | GBAF BE E |]  