Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:3/4
K:Gdor
['g2 (3^fgf d2 B2 (3BAG A2- Ad', 'G4 d>g g2{ga} (3g^fg a>^f d2{de} (3dcd']  
X:1
L:1/8
M:3/4
K:Gdor
|: g2 (3^fgf d2 | B2 (3BAG A2- | Ad (3cec (3cec | c>e (3dfd (3dfd | d>c B2- B>G | 
 (3cdc (3BAG ^F>A | G2 G4 :: d>g g2{ga} (3g^fg | a>^f d2{de} (3dcd | g2 (5:2:5gag^fg a>f | 
 d>e (3c=Bc d>c | B2 (3BAG A2- | Ad (3cec (3cec | c>e (3dfd (3dfd | d>c B2- B>G | 
 (3cdc (3BAG ^F>A | G2 G4 :|  