Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/4
M:4/4
K:D
['d c B A3 A B B']  
X:1
L:1/4
M:4/4
K:D
!mf! vd d c B | A3 A | B B c c | d2 A2 | d d c B | A3 A | B B c A | d3 z |!f! f/g/ a f/g/ a | 
 g f e A | d2 e2 | f3 e | f/g/ a f/g/ a | g f e A | B2 c2 | d3 z |!mf! vd d c B | A3 A | B B c c | 
 d2 A2 | d d c B | A3 A | B B c A | d3 z |]  