Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/4
M:9/4
K:D
['A F', 'B A', 'B A F']  
X:1
L:1/4
M:9/4
K:D
 d B G F A F E/F/ G E | =c E E E2 B A F D | d B G F A F E G E | A F D D2 B A F D :: 
 f/g/ a f e/f/ g e B/c/ d B | =c E E E2 B A F D | f/g/ a f e/f/ g e B/c/ d B | A F D D2 B A F D :: 
 G2 e F2 d E3 | =c E E E2 B A F D | G2 e F2 d E2 B | A F D D2 B A F D ||  