Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/16
Q:1/8=1
M:4/4
K:A
['A2<E2A2>c2 B2>A2 B2<c2', 'Aaga fedc', 'A4 Aaga fedc defe dcBA Bcdc dcBA']  
X:1
L:1/16
Q:1/8=1
M:4/4
K:A
 A2<E2A2>c2 B2>A2 B2<c2 | e2<c2B2>A2 B2A2 F4 | A2<E2A2>c2 B2>A2 B2<c2 | e2<c2B2>c2 AAA2 A4 :| 
 Aaga fedc defe dcBA | Bcdc dcBA B2>A2 F4 | Aaga fedc defg a2c2 | B2>A2B2c2 AAA2 A4 || 
 Aaga fedc defe dcBA | Bcdc dcBA B2>A2 F4 | A2<E2A2>c2 B2>A2 B2<c2 | e2<c2B2>c2 AAA2 A4 |]  