Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['g d2 c BAG', 'd2 B'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
 g | d2 c BAG | B3 B2 g | d2 c BAG | A3 A2 g | d2 c BAG | B3 B2 c | def g3/4d/B | G3 G2 :: B/c/ | 
 d2 B d2 B | d3 d2 g | e2 c e2 c | e3 e2 g | f2 g agf | g2 f efg | def g2 B | G3 G2 :|  