The train leaves every 2.5 hours. If the next train is at 18.00 hrs, the previous train would have left at 15.30 hrs.
If the announcement said the train left 40 minutes ago, then: 15.30 hrs + 40 minutes = 16.10 hrs.
Thus, the announcement was made at 16.10 hrs.