Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['G>DG>B G>DG>B', 'G2 g<gb>g d/d/d d2 g<gb>g e/e/e e2']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
 G>DG>B G>DG>B | d<Bg>B A/A/A A2 | G>DG>B G>DG>B | dcBA G/G/G G2 :| g<gb>g d/d/d d2 | 
 g<gb>g e/e/e e2 | g<be<g d<gB<g | AGAB G/G/G G2 | g<gb>g d/d/d d2 | g<gb>g e/e/e e2 | 
 g<be<g BBbg | A>GA>B G/G/G G2 |]  