Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:Dmin
['AG FEFD', 'D4 A2 d^cde fefd c2 A4 A=B', 'D4 FG AFDF AFDF (3AGF (3FED D2'  
X:1
L:1/8
M:4/4
K:Dmin
 AG | FEFD f2 ed | cAFA B2 AG | FEFD CcBc | c2 G4 AG | FEFD fefd | cAFA BABG | FEFD CDEF | F2 D4 :: 
 A2 | d^cde fefd | c2 A4 A=B | cBcd edec | c2 G4 AG | FEFD fefd | cAFA BABG | FEFD CDEF | F2 D4 :: 
 FG | AFDF AFDF | (3AGF (3FED D2 EF | GECE GECE | (3(GFE) (3FED C2 AG | FEFD fefd | cAFA BABG | 
 A/G/F/E/ G/F/E/D/ CD EF/G/ | F2 D4 :|  