Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:2/2
K:Amin
['e2 ed', 'A B edef g2 ^fe dedB dedB'  
X:1
L:1/8
M:2/2
K:Amin
 B | e2 ed eAAB | dedB GABd | e2 ed e^fge | dBgB A/A/A A :: B | edef g2 ^fe | 
 dedB dedB edef g>age | dBgB A/A/A A :|  