Answer:
Project A:
Payback Period = Years before full recover + (Un-recovered cash inflow at start of the year/cash flow during the year) 
= 2 Year + ($12,000 / $18,000) 
= 2 Year + 0.67 years 
= 2.67 Years 
 
Payback Period - PROJECT A = 2.67 Years
Project B:
Payback Period = Years before full recover + (Un-recovered cash inflow at start of the year/cash flow during the year) 
= 3 Year + ($17,000 / $224,000) 
= 3 Year + 0.08 years 
= 3.08 Years 
 
Payback Period - PROJECT B = 3.08 Years