Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
Q:3/4=30
M:3/4
K:G
['ef g2 e4 dc (B2cd) e2 E4', 'e2 g4'  
X:1
L:1/16
Q:3/4=30
M:3/4
K:G
 ef | g2 e4 dc (B2cd) | e2 E4 FG (A2Bc) | (B2ed) (cB)(AG) (FG)(AF) | G2 E4 B2e2 :: gf | 
 e2 g4 fe (dedc) | B2 d4 de (dc)(BA) | GBd2 Bdg2 dgb2 | g2 d4 (ga) bagf | e2 g4 (fg) agfe | 
 d2 f4 (gf) (e2dc) | (B2ed) (cB)(AG) FGAF | G2 E4 B2e2 :|  