Keep in mind that payback considers cash flows instead of accounting profits If in question you are provided with EBIT then you are required to calculate the cash flows by adjusting Tax and depreciation.
(EBIT = CFAT+TAX-DEPRECIATION) CFAT is calculated after tax and before depreciation.