Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/4
M:2/4
K:G
['z B']  
X:1
L:1/4
M:2/4
K:G
 G D | E/F/G/B/ | A/c/4B/4 A | G A | B/d/c/A/ | B/G/ c | d/>c/ B- | B z | B B | B d | c/>B/ A | 
 G A- | A z | B A | B/d/c/A/ | B/G/ c | d/>c/ B- | B z | B B | B d | c/>B/ A | G A- | A z | B A | 
 B/d/c/A/ | B/G/ c | d/>c/ B- | B2 |]  