A minor typo crept in but it has a significant impact on understanding the situation.
In my first reply I wrote:
"The first task [note: a 10D task] will start Monday of week1 and finish Friday of week2; the second task [note: a 10ED task] will start Monday of week1 and finish Thursday of week2 (if you display the time you'll see that if the task starts are the beginning of day1 it finishes at the beginning of day 10 -- not intuitively obvious but there you go.)"
That should be "finishes at the beginning of day 11 -- not intuitively obvious but there you go.)"
That's easier to understand if you consider a 1ED task. It starts on the first day and, since it covers a full elapsed day, it ends 1 full elapsed day later: the beginning of the second day.