Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
M:6/8
K:G
['gdB BAB', 'g3 bag'  
X:1
L:1/8
M:6/8
K:G
 gdB BAB | GBA GBd | gdB BAB | GBd e2 d | gdB BAB | GBA GBd | gfe fdB | GBd e2 :| f | g3 bag | 
 f3 afd | g3 bag | afd e2 f | g3 bag | f3 afd | gfe fdB | GBd e2 :|  