Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:4/4
K:G
['g/f/g/a/ bg gd ed/c/ BA']  
X:1
L:1/8
M:4/4
K:G
|:"G" G/A/B/c/ dc | BA Gd | G/A/B/c/ dg |"D" fg ad |"G" g/f/g/a/ bg |"D" af"G" gd | 
"G" gd"C" ed/c/ |"G" BA G2 ::"G" Bd Bd | Bd dc/B/ |"C" ce ce | ce ee/f/ |"G" g/f/g/a/ bg | 
"D" af"G" gd |"G" gd"C" ed/c/ |"G" BA G2 :|  