Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/4
M:4/4
K:A
['A =G A']  
X:1
L:1/4
M:4/4
K:A
 A | A =G A B | =c3 c | d =c B A | =G3 B | =c e d c | B2 A E | A =G A =F | E3 A | =c B c d | B3 e | 
 B d =c d | B2 A |]  