4. By this time next year I will have graduated.
This is a use of xxxxx tense. For example:
I will have done the work by nine.
Y will have finished homework within afternoon.
5. When he arrived at the station, the train had left.
This is the use of xxxxx tense.