Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/4
Q:1/4=120
M:3/4
K:C
['', 'd d']  
X:1
L:1/4
Q:1/4=120
M:3/4
K:C
 B |: d2 B | d d d | e3/2 (3d/4e/4d/4 c- | c z B | d2 B | d d d | e3/2 (3d/4e/4d/4 c- | c B A | 
 G3 | B B d | c2 A3/4B/8A/8 | G3- | G z B :|  