Hi I am having trouble getting the answer given here: Robert Williams is considering an offer to sell his medical practice, allowing him toretire…

Hi I am having trouble getting the answer given here:

Robert Williams is considering an offer to sell his medical practice, allowing him toretire five years early. He has been offered $500,000 for his practice and can invest thisamount in an account earning 10 percent per year, compounded annually. If the practiceis expected to generate the following cash flows, should Robert accept this offer andretire now?End of YearCash Flow1$150,0002150,0003125,0004125,0005100,000PV CASH FLOWS=501,713.74 THEREFORE DO NOT SELL FOR 500,000