If X is uniformly distributed over (−1, 1), find

If X is uniformly distributed over (−1, 1), find
(a) P{|X|> 1/2}
(b) the density function of the random variable |X|.