Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:G
['d dBG GBd efg g2 e dBG', 'g gfg'  
X:1
L:1/8
M:6/8
K:G
 d | dBG GBd | efg g2 e | dBG GAB | (A3 A2) d | dBG GBd | efg g2 e | dBG ABA | (G3 G2) :: B/c/ | 
 d2 g gfg | e2 g gfg | dBG GAB | (A3 A2) d | dBG GBd | efg g2 e | dBG ABA | (G3 G2) :|  