Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:2/2
K:D
['ABAG .F2 .A2 f4 d2']  
X:1
L:1/8
M:2/2
K:D
|: FG |"D" ABAG .F2 .A2 | f4 d2 AA | ABAG .F2 .A2 | f4 d2 e2 |"Em" e3 e"A" .g2 .e2 | 
"D" dcde"Bm" fafd |"Em" c3 d"A7" .e2 .c2 |1"D" eddd"A7" .d2 :|2"A7" eddd"D7" .d2 |: fg | 
"G" .a2 .g2"A7" e4 |"D" .g2 .f2"Bm" d4 |"Em" f3 e"A7" .B2 .c2 |"D" dcde"D7" f2 fg | 
"G" .a2 .g2"A7" e4 |"D" .g2 .f2"Bm" d2 c2 |"Em" B2 g2"A7" e2 c2 |"D" d4 d2 :|  