Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:2/4
K:G
['g2 dB GB d2 dg dB c/B/A/G/', 'gg a/g/f/e/ dd'  
X:1
L:1/8
M:2/4
K:G
 g2 | dB GB |"^tr" d2 dg | dB c/B/A/G/ | A2 GA | B/A/G/A/ B/A/G/F/ | E>F GA | de e^d | g2 :: d2 | 
 gg a/g/f/e/ | dd dB | gg a/g/f/g/ |"^tr" e2 dB | gg a/g/f/e/ | dd dg | dB c/B/A/G/ |"^tr" A2 GA | 
 B/A/G/A/ B/A/G/F/ | E>F GA | Be e^d | e2 :|  