Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/4
M:4/4
K:G
['B A', 'e d']  
X:1
L:1/4
M:4/4
K:G
 B/A/ | G D G A | B e e g/e/ | d B A G/A/ | B A A B/A/ | G D G A | B e e g/e/ | d B A B/A/ | 
 G2 G :| e/f/ | g f e d | e f g e | d B A G/A/ | B A A |1 e/f/ | g f e d | e f g e | d B A B/A/ | 
 G2 G :|2 B/A/ | G D G A | B e e g/e/ | d B A B/A/ | G2 G ||  