Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/4
K:G
['c2 (BA) G2 (DB,) C2 (FE) D3', 'E2 (Gc) .G(G ^FG) (Ad c).A G2'  
X:1
L:1/8
M:2/4
K:G
 c2 (BA) | G2 (DB,) | C2 (FE) | D3 D | E2 (cB) | BAAG | FdcA | (FD)(BA) | G2 (FE) | D2 (CD) | 
 E2 (ed) | c3 A | BGDB, | EcAF | G2 G2 | G4 ||[K:C] | E2 (Gc) | .G(G ^FG) | (Ad c).A | G2 (cd) | 
 (ea) (ge) | d2 (Bc) | dcBA | GFED | E2 (Gc) | .G(G ^FG) | (Ad c).A | G2 (cd) | e>(c d>)(B | 
 c>)(G A>)F | E2 d2 | c4 ||  