Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/4
M:3/4
K:D
['d d']  
X:1
L:1/4
M:3/4
K:D
 d/e/ | f d e/d/ | B2 d/B/ | A2 A | B d d | d2 d | d e f | g3/2 a/ g | f e d | f a f | e2 d | 
 d e f | g3/2 a/ g | f e d | f a f | e2 d/e/ | f d e/d/ | B2 d/B/ | A2 A | B d d | d2 ||  