Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
M:4/4
K:G
['G z B2 B3 B c2 D2', 'g2 (3Bcd'  
X:1
L:1/8
M:4/4
K:G
|: G z B2 B3 B | c2 D2 F3 D | FGAB cdef | fg- g2 aged | G z B2 B3 B | c2 D2 F3 D | FGAB cAFA | 
 A2 G2 G4 :: B3 d cBcA | B2 b2 b4 | agfe dcBA | G2 g2 g2 (3Bcd | g2 (3Bcd e2 (3cBA | 
 d2 (3BAG E3 G | (3EFG AB cAFG | A2 G2 G4 :|  