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 G2 e d>ed c2 d B2']  
X:1
L:1/8
M:6/8
K:G
 D G2 e | d>ed c2 d | B2 D G2 e | d>ed c2 d | B2 cc>de | edcc>de | d2 dA>Ae | e>dcd>ed/c/ | 
 B2 cc>de | edcc>de | d2 dA>Ae | e>dcd>ed/c/ | B2 |]  