Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/8
M:4/4
K:G
['d2 G<d B<B d2', 'B<B cA B<B g2 fe']  
X:1
L:1/8
M:4/4
K:G
 B | d2 G<d B<B d2 | e<c d<B c<AAB/c/ | d2 G<d B<B d2 | e2 e2 d<B (Bc) :: B<B cA B<B g2 | 
 fe e<f dB Bc | B<B cA B<B g2 | fe ef A2 A :|  