Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:2/2
K:G
['=f3 g |{fg} a2 (AB) A2', '=fede =fgab ABge', 'BGB dBd gbg', 'c=fc AcA =FAa gdc BAG Dga bag'  
X:1
L:1/8
M:2/2
K:G
"_Brisk" g2 | dBTAG (DE)(GA) | TB2 (AG) G2 c_B | A2 (G=F) =f3 g |{fg} a2 (AB) A2 (ge) | 
 dBTAG (DE)(GA) | B2 (TA>G) G3 B | A2 B2 g3 a |{ga} b2 (d>e) d2 (cB) | A2 B2 g3 a | 
 (b<a) (g<e) (g<e) (d<B) | A2 G=F =f3 g |{fg} a2 (AB) A2 (GA) | TB2 (AB) Tc2 (Bc) | d2 (ef) g3 e | 
 (de)(dB) (cA)(dc) | TB2 (AG) G2 :: g2 | dBAG (DE)(GA) | BdAB GABG | cATG=F =fede | =fgab ABge | 
 dBTAG DEGA | BdAB GABG | AGAB gfgd | egde BcdB | AGAB gdBg | dBgd BgdB | cAG=F =fede | 
 =fgab ABge | dBAG DEGA | TBABG gfgd | egBg ABcd | B2 TA>G G2 ::[M:6/8]"^Giga""_Allegro" g | 
 dcB ABG | DGA BAG | A=FA cAc | faf cfc | Bdc BAG | DGA BAG | BGB dBd | gbg dgd | BGB dBd | 
 gbg dgc | A=FA cAc | =faf cfa | gde dBd | GBd gec | dgc BgB | Agf G2 :: g | dcB ABG | Dga bag | 
 a=FA c=fc | AcA =FAa | gdc BAG | Dga bag | bGB dBd | (g/a/b)g dgd | BGB dBd | (g/a/)bg dgc | 
 a=FA c=fc | (A/B/)cA =FAa | gde (d/c/B/A/)B | GBd (g/f/e/d/)e | dgc BgB | Agf G2 :|  