Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=40
M:3/4
K:G
['EF GG G2 BG EE E2 FG', 'BG EE E2 BG DD D2 Bc'  
X:1
L:1/8
Q:1/8=40
M:3/4
K:G
"^mournful" EF | GG G2 BG | EE E2 FG | AA A2 FA | DD D2 Bc | dd d2 gd | ec B2 GA | BB c2 AF | 
 GG G2 || BG | EE E2 BG | DD D2 Bc | dd d2 gB | cB A2 BG | EE E2 BG | DD D2 Bc | dd c2 AF | 
 GG G2 |]  