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 B']  
X:1
L:1/4
M:4/4
K:D
 D2 (F A) | d3 c | B3/2 c/ d B | A3 d | B B/B/ B A | B A F D/>E/ | F3/2 E/ F3/2 E/ | E D |]  