pls show steps and details! thanks!

Question Answered step-by-step pls show steps and details! thanks! Image transcription text1. X is uniform on [-2,2]. 1, X<-1 Y = g(X) with g(x) = X, - 1