Calculate the pay back for the following:

Project A : Initial Cost $80,000 earns $19,000 per year.
Project B : Initial Cost $100,000 earns $25,000 per year.
C What are the downsides of using of using payback period to analyze a project? Please put in detail the formula for part a and b?