Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:6/8
K:G
['d g']  
X:1
L:1/8
M:6/8
K:G
 d | g f g d g f g d B G2 B c d B A2 G F G E D2 d | g f g d g f g e g f2 d ^c d e A d c d3 d2 d | 
 g f g d g f g d B G2 B c d B A2 G F G E D2 d | g f g d g f g e g f2 d ^c d e A d c d3 d2 d | 
 d B d =f2 e d c B c3 c A c e2 d c B A B3 | G B d e c A d B G B d g A a g f e f g3 g2 d | 
 d B d =f2 e d c B c3 c A c e2 d c B A B3 | G B d e c A d B G B d g A a g f e f g3 g2 ||  