Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:2/4
K:G
['e>d BA AG/A/ BG G2 BA g>a', 'ed Bg']  
X:1
L:1/8
M:2/4
K:G
|: e>d | BA AG/A/ | BG G2 | BA g>a | ge ed | BA A>A | BG G>G | BA gg | e2 :: ed | Bg g>a | 
 ba ab/a/ | g2 g>a | ge ed | Bg ga | ba ab | ga/g/ fd | e2 :|  