Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:2/2
K:D
['', 'g>B B2'  
X:1
L:1/8
M:2/2
K:D
"^A" |: A>d |"D" f>A A2 f2 e>f |"G" g>B B2 g2 a>g |"D" f>A A2"Bm" f2 e>f | 
"Em" g>B e>d"A7" d>c d>e |"D" f>A A2 f2 e>f |"G" g>B B2 g2 a>g |"D" fg a>f"A7" g>e c>d | 
"D" e2 d2 d2 :|"^B" |: A>d |"D" f>A A2"D7" f>g a>f |"G" g>B B2 g>a a>g |"D" f>A A2"Bm" f>g a>f | 
"Em" g>B e>d"A7" d>c d>e |"D" f>A A2"D7" f>g a>f |"G" g>B B2 g2 a>g |"D" fg a>f"A7" g>e c>d | 
"D" e2 d2 d2 :|  