Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:3/4
K:Amin
['A2 uA>uA (3c(BG) (3(BcB) A3 (E A>)(c', 'ue>ue (3g(fd)'  
X:1
L:1/8
M:3/4
K:Amin
|: A2 uA>uA (3c(BG) | (3(BcB) A3 (E | A>)(c e>)(g f>)d | (3(fgf) e4 :: e2 ue>ue (3g(fd) | 
 e2 (ec) (A2 | e2) ue>ue (3g(fd) | (e>f) (ec) (A2 | A2) uA>uA (3c(BG) | (3(BcB) A4 :|  