Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:4/4
K:G
['g2 bg d2 gd BcdB G2 AB']  
X:1
L:1/8
M:4/4
K:G
 (3def |"G" g2 bg d2 gd |"G" BcdB G2 AB |"C" c2 ec"Am" A2 cA |"D7" FGAB cdef |"G" g2 bg d2 gd | 
"G" BcdB G2 AB |"C" cedc"D7" BAGF |"G" A2 G2 G2 :: Bc |"G" dBdB g2 gf |"Am" ecec"A7" a3 g | 
"D7" fefd"G" gfgb |"A7" agfe"D7" defd |"G" g2 bg d2 gd |"G" BcdB G2 AB |"C" cedc"D7" BAGF | 
"G" A2 G2 G2 :|  