Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:6/8
K:Emin
['A2 B', 'f e2 f g2'  
X:1
L:1/8
M:6/8
K:Emin
 D | GFG G2 g | dBG GAB | A2 B c2 d | ecA A2 B | GFG G2 g | gfg dBG | A2 B c2 A | BGE E2 :: f | 
 e2 f g2 e | fed d2 f | e2 f g2 a | bge e2 g/a/ | bgb afa | geg dBG | A2 B c2 A | BGE E2 :|  