The lifespan of a guinea pig is 6 years less than that of a giraffe. The lifespan of a tiger is 4 times that of the guinea pig. If the total lifespan of the animals is 30 years, calculate the longevity for each species.