Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:3/8=108
M:9/8
K:Gdor
['B2 G A2 F D2', 'B>cd d>cB'  
X:1
L:1/8
Q:3/8=108
M:9/8
K:Gdor
 A | B2 G A2 F D2 E | F2 F F2 G ABc | B2 G A2 F D2 D | D2 G G>AG G2 :| A | B>cd d>cB A2 G | 
 F>Ac c>AF (A/B/c)A | B>cd d>cB A>Bc | d2 d d>BG G2 :|  