I did the following:
End of Year 20 to End of Year 39 (which are beginning of Y21 and Y40 respectively), the man needs 40,000 dollars each year. The calculation:
With BGN mode: N=20; FV=0; I/Y=7; PMT=40,000; CPT PV=?
With END mode: N=19; FV=0; I/Y=7; PMT=40,000; CPT PV=? + 40,000 (the first 40k which is in beginning of year 21 already and must not be discounted, it is like the “today” money, it is in the date we want). Note: Remember that the PV calculation is with negative sign, so you will need to deduct the (-40,000).
Your PV at the end of year 20 (beginning of year 21) is (-)453,423.8 dollars.
This amount now is the FV of your deposit timeline which has 20 years. But be careful because this is an annuity due again, the first payment (deposit) is done at year 0 and the last deposit is done at the end of year 19 (or beginning of year 20). This tally with withdrawal schedule, it starts at end of year 20 (or beginning of year 21).
The calculation: You need to set your calculator with BGN mode.
With BGN mode: N=20 ; FV= (-)453,423.8 ; I/Y=7 ; PV= 200,000; PMT= ?
PMT = (-)7,306.8
If you do not set the BGN mode, the calculation is done with END mode and N=20, so you will get 7,818.3 which would be answer c). To avoid this, you can use END mode but set N=19 at the previous calculation. The answer will not be the same, but will be approximated already with a value of PMT = (-)7,220.1 and you can choose b) I think.
This time the calculation of BGN / END changing the value of N will not be the same because the initial capital of 200,000 changes everything, so be careful with this kind of problems.
Regards!