Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
Q:1/4=144
M:2/4
K:D
['dc dc d2 A2 d2 f2 f2', 'd4 A2 de f2 d2 B2 Bc']  
X:1
L:1/8
Q:1/4=144
M:2/4
K:D
 dc dc | d2 A2 | d2 f2 | f2 e2 | e^d ed | e2 A2 | Bd ce | d4 :: A2 de | f2 d2 | B2 Bc | A4 | 
 G2 GA | F2 FG | E2 EF | D4 :|  