Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:6/8
K:G
['B3 BAG', 'g3 gab']  
X:1
L:1/8
M:6/8
K:G
 B3 BAG | d3 efg | d2 d edB | A3 ABc | B3 BAG | d2 d efg | d3 edB | AGF G3 | B3 BAG | d2 d efg | 
 dcd edB | A3 ABc | B3 BAG | d2 d efg | d3 edB | AGF G3 |: g3 gab | e3 edB | g3 gab | bag a3 | 
 g3 gab | e3 efg | d2 d edB | AGF G3 :|  