Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/4=58
M:2/4
K:Dmin
['D2 (DE) F2', 'DGGG GAFE DEFG EFG!fermata!c AGGG GAFE EFD!fermata!D', 'GAFE GAFE DEFG'  
X:1
L:1/8
Q:1/4=58
M:2/4
K:Dmin
"^A" D2 (DE) | F2 F2 | G2 (GE) | (F2 D2) | E2 (EF) | G2 D2 | G2 F2 | G4 | A2 (Ac) | A2 A2 | 
 G2 (GA) | (F2 D2) | D2 (DE) | F2 G2 | E2 (FD) | D3 z | A2 (A!fermata!c) | A2 A2 | G2 (GA) | 
 (F2 E2) | D2 (DE) | F2 (GE) | E2 (FD) | D3 z ||"^B" DGGG | GAFE | DEFG | EFG!fermata!c | AGGG | 
 GAFE | EFD!fermata!D ||"^C" DGGG | GAFE | GAFE | DEFG | EFD!fermata!D |]  