Can anyone answer with steps how to get the expected value of this random variable?
Let $X$ be a random variable with following c.d.f,
$$F(x) = \begin{cases}0 &x < -1\\ \dfrac{1-x^2}4 & -1 \le x < \dfrac{-1}{\sqrt 2}\\ \dfrac12 - x^4 & \dfrac{-1}{\sqrt 2} \le x < 0 \\ \dfrac34 + x & 0 \le x \lt\dfrac14 \\ 1 &x \ge \dfrac14 \end{cases}$$
Find $\mathbb E(X)$
You can compute the expectation directly from the cdf using the formula: \begin{align*} \operatorname E[X] &= \int_0^\infty (1-F(x)) \, dx - \int_{-\infty}^0 F(x)\, dx \end{align*} In order to solve these integrals, you have to break the region of integration into the regions that were used to define $F(x)$.