Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
['d2 eegg', 'G2 ([G-A][GB]-)[GB]G GGG(A B)GAG E G3 ([G-A][GB]-)[GB]G', 'E G3', '[_B_d]-[Bd]- [Bd]2']  
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
"^Fast" gg-ga g2 d2 | eegg b2 gg | eg-ga ggdd | edBG A2 [GB]2 | eg-ga gg d2 | eegg bage | 
 dg-ga gg d2 | edBG AG G2 |: ([G-A][GB]-)[GB]G GGG(A | B)GAG E G3 | ([G-A][GB]-)[GB]G G2 GE | 
 DB,DD EG G2 :| G2 G2- G2 GG | BGAG E G3 | G2 G2- G2 GE | DB,DD E G3 | [G_B]-[GB]- [GB]2 G3 G | 
 BGAG E G3 | _B- B3- BBAG | DDDD E G3 || [_B_d]-[Bd]- [Bd]2 [Bd]4 | 
 [_B_d]-[Bd]- [Bd]2 [GB]2 [_B_d]-[Bd]- | [Bd]2 [Bd]2 [GB]4 | DDDD E G3 :|  