Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:6/8
K:D
['A2 d A2']  
X:1
L:1/8
M:6/8
K:D
 A, | DDDD=FG | A2 A A2 A | _BBB d2 B | A3- A2 d | A2 d A2 G | =F2 F/E/ D2 _B | A2 G=FGE | D3- D2 |]  