Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/16
M:4/4
K:Bb
['G3 A']  
X:1
L:1/16
M:4/4
K:Bb
 G3 A B3 c A2A2 F3 A | G3 A B2d2 g4 d3 =e | f3 g f2d2 c3 A F3 A | G3 A B3 c A4 G4 | 
 d2d2 B2B2 c2c2 A2c2 | d2d2 d2^f2 g4 d2(d=e) | f3 g f2d2 c2A2 F3 A | G3 A B3 c A4 G4 |]  