Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/4
Q:1/4=100
M:4/4
K:G
['B A']  
X:1
L:1/4
Q:1/4=100
M:4/4
K:G
 G3/2 D/ F G | A2 D2 | B B A G | (G2 F2) | B3/2 G/ A B | c2 A2 | B B A ^c | d4 | d3/2 A/ ^G B | 
 B2 c2 | A e d c | B4 | B G E A | G2 F2 | F3/2 E/ B A | G4 |]  