Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
['GD GA BG Bd gf ed cB', 'AD FD'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
|: D2 | GD GA BG Bd | gf ed cB AG | AB cd ec AG | FG AF D2 EG | GD GA BG Bd | gf ed cB AG | 
 AB cd ec AF | G2 GF G2 :: FG | AD FD AD FD | cA BG A2 GA | BD GD BD GD | dB cA B2 A2 | 
 GD GA BG Bd | gf ed cB AG | AB cd ec AF | G2 GF G2 :|  