This sounds a lot like a homework question. I think that the policy from the Money.SE rules is that we'll be glad to help you structure the approach, but won't give you the answer outright.
For any investment decision, there are 5 main facts you need to figure out.
No. of Periods
Cash Flows per Period
Net Present Value just takes all of the 5 items and packages them into one number that answers for "Is this project profitable or not" but doesn't necessarily answer whether it is your best option for investment.
For your question, Excel would be very handy. You can put all of the different cash flow items into a spreadsheet and use the function '=NPV(rate, [cash flows]) to get the value of a stream of payments. Remember that the function that is built into Excel always takes everything back to time period 0. So if you have 3 columns of data, where column 1 is the current year, column 2 is Year 1, and column 3 is Year 2, putting the 3 cash flows into the NPV function will take your values back to Year -1.
So to do it correctly you would add the current year in nominal terms and then the NPV of the two future years of cash flow.
Or in your case, your professor has asked for you to take the already-spent 5 million €, and compare it to the NPV of the revenues.
This is a pretty classic investment scenario. There's a lot that could be said after this about whether or not it is a good idea; if it is a profitable project or not; the payback period; and why. If you show more of your work, you'll probably find that people here are more than willing to give a little more input.