Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:4/4
K:C
['dBcA BGAF DGG^F', 'gdfd (3BcB (dB) fBbB c=Bcd (_BG) G2'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:Gmin] .abc (dc) | BGFE (DC) C2 | DGG^F GABc ||1 dBcA BGAF | DGG^F GBdc :|2 dBcA BGAF | 
 DGG^F G2 G2 || (3BcB (dB) fBbB | (3BcB (df) gdfd | (3BcB (dB) fBbB | c=Bcd (_BG) G2 | 
 (3BcB dBfBbB | (3BcB (df) gdfd | b2 (bg) fdcd | DGG^F G2 |]  