Conceptually I can work it out, but I'm not sure how to put it down mathematically. Since the functions are abstracted a bit. Could some one help write out how this should be done?

pdf : 0.5 delta(t) + 1/4 rect ((t-1)/2)

http://transcendent.www.idnet.com/probdensity.jpg