Create a composition based on the provided motif, following the specified musical form.
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
['(gdB) (GAG) (cBA) (BGD) (gdB) (AG)B', '(def) (gbg)', 'g3 gdB ecA (BcA) B2 G (gdB)'  
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
 (gdB) (GAG) | (cBA) (BGD) | (gdB) (AG)B | (cB)A B3 :: (def) (gbg) | (faf) (e^cA) | (def) (gbg) | 
 (faf) g3 :: gdB ecA | (BcA) B2 G | (gdB) (ecA) | BdD G3 :|  