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:D
['d>d dB BA FA', 'e>e ef ge e2']  
X:1
L:1/8
M:2/4
K:D
|: d>d dB | BA FA | d>d df | fe e2 | d>d dB | BA FA | d/c/d/e/ fe | ed d2 :: e>e ef | ge e2 | 
 d>d dB | BA FA | e>e ef | ge e2 | f/g/a/f/ gc | d2 d2 :|  