Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/4
M:3/4
K:G
['G2 G']  
X:1
L:1/4
M:3/4
K:G
 G | G2 G | d3/2 c/ _B | A2 _B/B/ | A2 A | d2 d | c _B A | _B2 A | G2 G | D2 D | _B2 B | A d ^c | 
 d3 | _B A G | G A F | G2 |]  