In the beginning, there is 3000 fish in which for some causes every year 20% of d fish die and 1000 are added. So we need to use compound interest formula to find out the equation that we can just substitute d number of year and find out how many fish there will be in that year