Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['', 'G2 GF GABG A2', '=fcA^F D2 DE FGAB c2 cB cAdc']  
X:1
L:1/8
M:4/4
K:G
 (3DEF |: G2 GF GABG | A2 AB AFDc | BAGE Bdge | fdcA BdAF | G2 GF GABG | A2 Bd AFDc | BAGE FEDc |1 
 BdAd BGAF :|2 BdAd BGGc |: Bdge fgag | bgde =fcA^F | D2 DE FGAB | c2 cB cAdc | Bdge fgag | 
 bggf gedc | BdBd cADF |1 AGGF GBdc :|2 AGGF G2 ||  