the tetras about 6 years or so,
the painted fish, unmolested 6 years, dyed somewhat less 4years if they survive the first bit
many loaches are quite long lived... and cold water fish especially so... so its more up to the conditions you can provide taht deturmins how long you can have those