Setting Kameti Amout , Startdate, Member and End Date

Need to calculate the end date