Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
['g2 f>dd>d f>aa>f g>fe>d g2 z g']  
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
 g2 | f>dd>d f>aa>f | g>fe>d g2 z g | f>ge>f | d>ef>d | A>BA>F G2 z2 | A>^GA>B c>Bc>A | B2 G2 c4 | 
 B>cd>B c>de>c | d2 f2 g2 |]  