Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/16
Q:1/4=120
M:2/4
K:Dmin
['A2(F>D) D>EFG .A2(F>E) D4 (G>FE2G2) c2G2 A2G2', 'd2=c=B (A2G2) c2.G2 (A2G2) .c2.G2 (A2G2) A>=Bcd'  
X:1
L:1/16
Q:1/4=120
M:2/4
K:Dmin
"^Allegro" A2(F>D) D>EFG | .A2(F>E) D4 | (G>FE2G2) c2G2 | A2G2 (A=B^cd) | .A2(F>E) D>EFG | 
 A2F>E D4 | (G>FEG) c2F2 |{DF} E2D2 D4 :: e2dd d2=c=B | (A2G2) c2.G2 | (A2G2) .c2.G2 | 
 (A2G2) A>=Bcd | E2dd d2c=B | (A2G2) [Ec]2 z2 | (G>F).E.G .c2.G2 |{DF} (E2D2) D4 :|  