Expectation of Absolute Difference

Consider two independent random variables: \(x\sim U(0,1)\) and \(y\sim U(0,2)\). What is the expected value of the absolute difference \(|x-y|\)?

Answer Panel