Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=140
M:3/8
K:G
['d/c/ Bde e2 c/A/ G/F/E/D/E/F/ G2 G', 'g2 D GBd gdB eee e2 e', 'G2 D GGG G2 B/G/ AAA A2', 'd2 d e/c/B/A/G/F/ GBd EEE E2 D/C/'  
X:1
L:1/8
Q:1/8=140
M:3/8
K:G
|: d/c/ | Bde | e2 c/A/ | G/F/E/D/E/F/ | G2 G | FAc | c/B/A/G/B/c/ | def | g2 :: D | GBd | gdB | 
 eee | e2 e | dBG | FAc/B/ | AAA | A2 D | GBG | EcA | FdF | Ged | dgd | eFA | GGG | G2 :: D | GGG | 
 G2 B/G/ | AAA | A2 c | BGd | ge^c | ddd | d2 :: d | e/c/B/A/G/F/ | GBd | EEE | E2 D/C/ | B,DG | 
 FAF | GGG | G2 :|  