For questions like these, we can answer by checking for a value $i$ if the following is true: $ Pr(X=i \cap Y=i) = Pr(X=i) \cdot Pr(Y=i) $
$ Pr(X=1 \cap Y=1) = Pr(X=1) \cdot Pr(Y=1) $
$ \frac{1}{5} = \frac{1}{2} \cdot \frac{2}{5} $
$ \frac{1}{5} = \frac{1}{5} $
Since the equation is true, X and Y are independent.