[verb ます-stem] + そうな + [noun] [verb ます-stem] + そうに + [verb] [i-adj 〜い → 〜] + そうな + [noun] [i-adj 〜い → 〜] + そうに + [verb] [na-adj] + そうな + [noun] [na-adj] + そうに + [verb] いい → よさそうな / よさそうに ない → なさそうな / なさそうに
The そうだ that means "I hear" follows the plain form and has no そうな or そうに.
With an adjective, そうな describes how the thing looks. With a verb, it describes something that looks about to happen.
おいしそうなけえきケーキ is a cake you have not tasted yet; おいしいけえきケーキ is one you know is good.そうに describes how someone looks while doing something. It is the usual way to describe how someone else feels, since a feeling word like かなしい悲しい on its own speaks for the speaker.
A verb's ます-stem with そうになる says something nearly happened: "almost".