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:D
['', 'd2 cB', 'FE DFAd fAdf']  
X:1
L:1/8
M:4/4
K:D
 fe |: d2 cB (3ABA FE | DFAd fAdf | gAeg fAdf | eAgf e2 (3ABc | d2 cB (3ABA FE | DFAd fAdf | 
 gAeg fAdf |1 eAce d2 fe :|2 eAce d2 de |: (3fga df A2 Bc | d2 cB (3ABA FE | DFAd fAdf | 
 (3ggg gf e2 de | (3fga df A2 FE | DFAd fAdf | gAeg fAdf |1 eAce d2 de :|2 eAce d2 fe ||  