Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['G3 A B2', 'e2 (ge)'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Moderate" G3 A B2 (AG) | (E>DEG){G} A4 | G3 A B2 (AB) | (cB)(AG) (B>c) d2 | G3 A B2 (AG) | 
 (E>D) EG{G} A4 | G3 A B2 (GB) | (cB)(AG) (B>c) d2 || e2 (ge) d2 (ed) | B2 (gB){B} A4 | 
 e2 (ge) d3 e | g>a (ba) g4 | e2 (ge) d2 (ed) | (cB) (gB) A3 B | (G>ABc) (d>edc) | 
 B2 (AG) (B>c) c2 ||  