If you miss the bus, then you will be late to school.

law of syllogism basically is a=b b=c then a=c
a = miss bus
c= detention
so if you miss the bus you get detention
D