Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:G
['g2 e2']  
X:1
L:1/8
M:4/4
K:G
 g2 | e2 g2 e2 d2 | c2 g2 c2 e2 | d2 ed eedc | A2 e2 A2 cd | edcA cAGE | GEDC A,2 c2 | d2 e2 gedc | 
 A4 e2 ||  