Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:1/8=170
M:12/8
K:G
['d2 G BAG', 'g2 f d2']  
X:1
L:1/8
Q:1/8=170
M:12/8
K:G
 d2 G BAG d2 G BAG | d2 G BAG c2 G e2 G | d2 G BAG d2 G BAG |1 dfd cBA G3 ABc :|2 dfd cBA G3- G2 || 
 g | g2 f d2 e f2 d c2 g | g2 f d2 e g2 e a2 e | g2 f d2 g f2 d c2 e | dfd cBA G3- G2 :|  