Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/4
M:4/4
K:D
['x4 x4']  
X:1
L:1/4
M:4/4
K:D
 A | d c d B | A G F A | d c d B | e c A A/ A/ | d c d B | A G F F | G F E D | F A D2 | 
 x4 x4 x4 x4 x4 x4 x4 | D D d A/ A/ | F/ G/ A/ G/ F2 | D D d A/ A/ | F/ G/ A/ F/ D2 |]  