The CDF is \(\displaystyle F(x)=\begin{cases}0 &: x<0 \\ \tfrac{1}{4}x^2 & :0\le x <2\\1 &:2\le x\end{cases}\)@Romsek sorry Sir, it isn't like that, I tried to do these tasks, but I have absolutely no idea how (I will add my tries, but they are completly stupid), it's not a homework it's just a exam preparation job, I thought that on the solved example I will understand how to use patterns (it always helps me with understanding math), honestly from propability I understand only examples with fair dice...
@pka sorry, my bad "gdy" means "if"