If <em>X</em> is uniformly distributed on the interval (0, 12), then its PDF is

or simply

and the zero-elsewhere case is assumed.
Whether you include 0 and 12 in the domain is irrelevant, since the probability that <em>X</em> = 0 or <em>X</em> = 12 are both zero.
Can u plz give me more details? i mean thats cool and all but do you need help?
1. find the greatest common factors of the numerator & denominator
2. regroup the factors to make fractions equivalent to 1
3. multiply the remaining factors