Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:G
['AA A4']  
X:1
L:1/8
M:2/4
K:G
 GG GG | G4 | GG FE | E D3 | AA AA | A4 | AA GF | G D3 | BB BB | B4 | BB AG | F A3 | AA AA | A4 | 
 AG FE | D G3 | G/ G3/2 G/ G3/2 | G4 | GG FE | F A3 | A/ A3/2 AA | A4 | dd c3/2 A/ | A G3 |]  