Answer:
electromagnetic / electronics
Step-by-step explanation:
A prefix commonly consists of one or more letters attached to the beginning of a word, which brings as result a new word.
Bearing the above in mind, it could be said that the two words which share a prefix, specifically the prefix "electro", are electromagnetic and electronics. Such prefix indicates that both words are related to electricity.