Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/16
Q:1/8=300
M:2/4
K:D
['AG G2B2 A2f2 fef2 G2e2 ede2 F2d2', 'G2 (3def'  
X:1
L:1/16
Q:1/8=300
M:2/4
K:D
 AG |:"D" F2AF"Em" G2B2 |"D" A2f2 fef2 |"Em" G2e2 ede2 |"D" F2d2 d4 AG |"D" F2AF"Em" G2B2 | 
"D" A2f2 fef2 |"Em" g2e2"A" ecAc |1"Em" e2d2"D" d2AG :|[K:G]"Em" g4 e4 efge |"G" d2B2 BAB2 | 
"Am" c2A2"D" AG A4 |"Em" B2G2"G" G2 (3def |"Em" g2>f2 efge |"G" d2B2"Em" BA B4 |"Am" c2A2 AcBA |1 
"Em" G4"G" G2 (3def :|2 A2G2 G2 ||  