Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
['GB,DG BDGB dGBd gbag fAce dFBA', 'G2 b^a bB^df bagf e^def gfg^g aA^ce'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
 BA | GB,DG BDGB | dGBd gbag | fAce dFBA | GBAG FDBA | GB,DG BDGB | dGBd gbag | fAce dFBA | 
 GEBD G2 :| b^a | bB^df bagf | e^def gfg^g | aA^ce a2 ge | d^cda d2 ab | a2 fd ^cdef | gfga bgag | 
 fAce dFBA | GEBD G2 :|  