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
['e2 e2 ef g2']  
X:1
L:1/8
M:4/4
K:G
"^A" (3Bdg |"G" b2 b2 gfge |"G" d2 d2 B2 G2 |"D7" FGAB c2 e2 |"G" ed^cd"D7" B2 (3Bdg | 
"G" b2 b2 gfge |"G" d2 d2 B2 G2 |"D7" FGAB cdef |"G" g2 g2 g2 :|[K:D]"^B" B2 |"D" A2 A2 FAdf | 
"D" a2 a2 f4 |"A7" a2 ^g2 =g2 e2 |"D" b2 a^g"A7" a4 |"D" A2 A2 FAdf |"D" a2 a2 f4 | 
"A7" a2 ^g2 =g2 e2 |"D" d2 f2"^dc""D7" d2 ||[K:C]"^C" f2 |"C" e2 e2 ef g2 |"C" e2 e2 ef g2 | 
"G7" fefg fd B2 |"G7" fefg fd B2 |"C" e2 e2 ef g2 |"C" e2 e2 ef g2 |"G7" fefg fdBd | 
"C" c2 e2"^dc" c2 ||  