Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bb
['dc BABF DEFD EFGE C2 ed cBcd', 'b2 dc Bg g2 Bgeg eg g2'  
X:1
L:1/8
M:4/4
K:Bb
 dc | BABF DEFD | EFGE C2 ed | cBcd egfB | A2 f2 f2 dc | BABF DEFD | EFGE C2 ed | cBcd egfA | 
 B2 b2 b2 :: dc | Bg g2 Bgeg | eg g2 egec | Af f2 Afcf | df f2 dfdB | GB B2 edcB | Ac f2 fedc | 
 Bdfd egfA | B2 b2 b2 :|  