Produce pleasing melodies that correspond with the indicated letter notation and incorporate the suggested theme.
X:1
L:1/8
M:2/4
K:G
['(B>B) (BB)', '(A>A) (AA) (A>g) (fe) (dc) (Bc)']  
X:1
L:1/8
M:2/4
K:G
 (B>B) (BB) | (B>B) (BB) | (cB) (AG) | G2 F2 | (F>d) (dd) | (d>d) (dd) | (ed) (^cd) | e2 d2 | 
 (B>B) (BB) | (B>B) (BB) | (cB) (AG) | G2 F2 | (F>d) (dd) | (d>d) (dd) | (ee) (ff) | g4 :: 
[K:D] (A>A) (AA) | (A>g) (fe) | (dc) (Bc) | e2 d2 | (A>A) (AA) | (A>g) (fe) | (dc) (Bc) | d4 :|  