Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
M:3/8
K:G
['d2 g B2 d dcB cBA c2', 'd^cd B2 d'  
X:1
L:1/8
M:3/8
K:G
 d2 g | B2 d | dcB | cBA | c2 e | A2 c | cBA |"^ende" G2 z :: d | d^cd | B2 d | cAc | edd | d^cd | 
 B2 d | def |"^D. c." g2 :|  