Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
M:2/4
K:D
['e d']  
X:1
L:1/8
M:2/4
K:D
 e f2 e | d B2 B | B3/2 d/ e d | E4 | e f2 e | d B2 B | B3/2 d/ e d | A4 |]  