Compose a musical piece based on the provided chord pattern.
'Am', 'G', 'Am', 'Em', 'G', 'Am', 'G', 'Am', 'G', 'Am', 'Am', 'Em', 'Am', 'Em', 'G', 'Am', 'Em', 'G', 'G'  
X:1
L:1/8
M:2/2
K:G
"Am" A2 (3(cBA) eA (3(cBA) |"G" BGBd gedB |"Am" A2 (3(cBA) eAcA |"Em" BGEF"G" GABG | 
"Am" A2 (3(cBA) eA (3(cBA) |"G" BGBd gedB |"Am" A2 (3(cBA) eAcA |"G" BGED"Am" EA A2 |] 
"Am" eaag eaag |"Em" efgf efgf |"Am" eaag eaag |"Em" (3(efg) fa"G" gedB |"Am" eaag a2 ag | 
"Em" efgf"G" g2 ge |"G" dega (3(bag) ag | (3(efg) fa gedB |]  