PA Basis of retirement Income

How do I figure out basis of retirement income in PA? No explanation makes enough sense