You and N of your friends are meeting for dinner, where N is a Poisson random variable with . All of you arrive independently and according to a uniform distribution over (0,1). Find the expected number of friends that arrive before you.

my book has an example, but they skip a lot of steps, so all I have is:

and they conclude that it's but I'm a little lost at picking my E[N](t)