Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
['B3 AGA G>AG GBd e>fg', "b3 aga g>ag gbd' e'>f'g'", 'ddd d>e=f']  
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
"^Vivace" B3 AGA | G>AG GBd | e>fg dcB | cAA AGA | B3 AGA | G>AG GBd | e>fg dgB | A3"^Fin" G3 || 
 b3 aga | g>ag gbd' | e'>f'g' d'c'b |"^Vivace" c'aa aga | b3 aga | g>ag gbd' | e'>f'g' d'g'b | 
 a3 g3 || B>cd ddd | d>e=f e=fg | d>cB B>AG | F>GA ABc | B>cd ddd | d>e=f e>^fg | d>cB B>AG | 
 AFA c3 |]  