Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:6/8
K:G
['d2 B', 'G3 B^AB G=AB cBc ABc B/c/dc BAG'  
X:1
L:1/8
M:6/8
K:G
|: gfg d2 B | cde d2 B | cac BgB | Adc BAG | gfg d2 B | cde d2 B | caf gdB | cAF G3 :: B^AB G=AB | 
 cBc ABc | B/c/dc BAG | FDE FF/G/A | B^AB G2 B | cAF D2 c |1 BB/c/d efg | afd g3 :|2 BcD EFG | 
 AA/B/c def ||  