Um, I'm most sure I'd say за последние пять дней and not за последних пять дней. But I think both variants are possible
As for examples:
The first 4 are okay
The 5th one should be:
Он будет учится четыре года.
Because it kind of fits in this statement
Originally Posted by iCake