The best response to the question regarding how the meaning of "pyre" helps someone determine the meaning of "pyrotechnics" is:
It helps them know that the word has to do with an artistic display that involves fire.
This is because "pyrotechnics" refers to the art and science of making fireworks and other explosive devices, which clearly involves fire.