Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['G2 z', 'B c2'  
X:1
L:1/8
M:6/8
K:G
 vG2 G A2 A | BdB G2 z | G2 G A2 c | B3 G2 z | G2 G A2 A | BdB G2 z |"^4" e3 A2 c | B3 G2 z :: 
 vg3 e2 g | faf d3 | g2 g e2 g | f3 d2 B | c2 B c2 d | e2 f g2 z |"^4" e z2 A2 c | 
 B3"^D.C." G2 z :|  