Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:4/4
K:F
['F2 A2 F2 AA c2 c3 A']  
X:1
L:1/8
M:4/4
K:F
 F2 | A2 F2 AA c2 | c3 A F2 z2 | f4 e2 d2 | c4 z2 A2 | BAGBdcBG | F3 A c3 z | G4 E4 | F3 z3 |]  