The rule is that prefixes and suffixes are added on and made a solid word.
However, when the word that has a prefix or suffix is more than one word, the prefix or suffix is attached with a hyphen.
...time frame-wise...
...pre-high school...
...social security-like... Happy punctuating! Margie
...time frame-wise...
...pre-high school...
...social security-like... Happy punctuating! Margie