Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/8=80
M:4/4
K:Amin
['AGAB e2 dB', 'gega b2 ag'  
X:1
L:1/8
Q:1/8=80
M:4/4
K:Amin
"^simplified version" z | AGAB e2 dB | e2 BA GA/G/ E2 | AGAB e2 dB | edBA A3 :| e | gega b2 ag | 
 egdB GA/G/ E2 | gega b2 ag | edeg a4 | gega b2 ag | egdB GA/G/ E2 | AGAB e2 dB | 
 edBA !fermata!A4 |]  