total expenditure of the company in each year is 500 million.
and the revenue generated is given each year.
so we can find the profit or loss by subtracting the revenue by expenditure of the company for each year.
for first year we the expenditure and revenue cancel out.
second year we get 200 mil profit
third year we get 300 mil profit
fourth year we get 100 mil profit
fifth year we get 100 mil loss.
in total we get 500 mil profit over 5 years. i.e on aggregate basis 100 mil profit for 1 year.
thus, we spend 500 mil, and get 100 mil profit each year i.e 100/500 * 100 percentage