The length of the life cycle of a star depends on _.

distance from Earth
the nebula’s brightness
mass and the amount of matter
helium and the amount of matter