Explicit blow-up time for two porous medium problems with different reaction terms