Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:2/4
K:D
['dd ef']  
X:1
L:1/8
M:2/4
K:D
|:"D" dd ef | df"A7" eA |"D" dd ef | d2"A7" c2 |"D" dd ef |"G" gf ed |"A7" cA Bc |"D" d2 d2 :: 
"G" B>c BA | Bc d2 |"D" A>B AG | F2 A2 |"G" B>c BA | Bc dB |"D" Ad"A7" ce |"D" d2 d2 :|  