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
['d BGB F2 D EFG'  
X:1
L:1/8
M:6/8
K:G
|: D |"G" G2 d BGB |"C" c>BA"D7" F2 D |"G" BAG"C" EFG |"D7" DEF"G" G2 (3D/E/F/ |"G" G2 d BGB | 
"C" c>BA"D7" F2 D |"G" BAG"C" EFG |"D7" DEF"G" G2 :: G |"G" Bcd"C" e2 A |"D7" ABc"G" d2 B | 
"G" Bcd"C" e2 e |"D7" ABc def |"G" g2 d BGB |"C" c>BA"D7" F2 D |"G" BAG"C" EFG |"D7" DEF"G" G2 :|  