A father leaves his home to take his son to school between 6:15 AM and 6:45 AM and it usually takes between 30 and 40 minutes to arrive there. Let X and Y be independent and random uniformly distributed continuous variables that stand for, respectively, the time of departure from home and the time spent on the way to school. What is the probability that the kid will arrive before class begins, at 7 AM?

(I’m sorry if something is misspelled or in an unusual order. I’m not a native speaker so I’m not sure if the order on “random uniformly distributed continuous variables” is correct)

I frankly have very little idea regarding how to proceed here. The first thing I’d thought about doing is converting the times to only minutes, in such a way as to make X and Y comparable (in a sense). After that, imagining 7 AM as 420 minutes, we’d need to have X+Y<420. After this, I'm stuck (I'm not even sure the reasoning prior to this is solid).

Any help is highly appreciated!

**Answer**

As you suggested, X and Y can be described as two independent uniform random variables X∼U(375,405), Y∼U(30,40). We are interesting in finding P[X+Y≤420]. This problem can be handled with a straightforward geometric approach.

P[X+Y≤420]=grey areatotal area=Δy×d1+12Δy×d2Δx×Δy=5+12⋅1030=13,

where Δx=405−375=30, Δy=40−30=10, d1=(420−40)−375 and d2=390−(420−40)

**Attribution***Source : Link , Question Author : Pedro Cunha , Answer Author : nonin*