When using two hash functions, g(x)=SHA-512 and f(x)=MD5 g(x) has 512 bit output (using salt) f(x) has 128 bit output.
Let's say that z(x)=f(g(x)) meaning the output is 128 bit long.
The Question: Is using z(x) like using MD5 with salt? Hence, the security level is low. Opposed to using only g(x) with salt and getting 512 bit long output?
On the one hand z(x) is a more complex function than g(x) but on the other hand 512 bit should take longer time to crack vs 128 bit.