Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:6/8
K:G
['gdB BAB', 'g3 bag'  
X:1
L:1/8
M:6/8
K:G
 d | gdB BAB | GBA GBd | gdB BAB | GBd e2 d | gdB BAB | GBA GBd | gfe fdB | ABd e2 :: d | g3 bag | 
 f3 afd | g3 bag | afd e2 d | g3 bag | f3 afd | gfe fdB | ABd e2 :|  