If the joint distribution of $x$ and $y$ as follow $$f(x,y)=\left\{ \begin{align} & \frac{{{x}^{2}}+y}{4}\,\,\,\,,\,\,\,\,0<x<y<4 \\ & 0\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,,\,\,\,\,\,\,\,\,\,o.w. \\ \end{align} \right.$$
How can I find the marginal distribution function of $x$?
I tried integrating the function with respect to $y$ using the boundaries $0$ and $2$ and my answer did not match the back of the book.
Then I tried integrating with the boundaries $0$ and $2-y$ and my answer was closer but still wrong.
Where am I making my mistake?