Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:2/4
K:G
['A3 z']  
X:1
L:1/8
M:2/4
K:G
 d>dgB | A3 z | G>AdB | A3 z | A>GAA | ge d2 | e>BBA | G2 GE | dE/E/DD | z GEB | A2 GE | DDC/D/E | 
 D4 | z AEG | AG A2 | z deB | AG A2 | dE/E/DD | z dBg | e2 dB | AA/B/A/G/E | d4 |]  