Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
['A2 e d c2', 'A4 e2 g f e2', 'e4 c2 B A e2 c2 d', 'B4 B2 e d (B3/2 A/)']  
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
 A2 e d | c2 B2 | A4 || e2 g f | e2 d2 | e4 || c2 B A e2 | c2 d c | B4 || B2 e d | (B3/2 A/) | 
 A4 |]  