Here is a little trick that works only in a small proportion of cases, including this one.
Note that $2=-3+5$ and $4=-3+7$. So $-3$ has remainder $2$ on division by $5$, and remainder $4$ on division by $7$. Thus an answer to our problem is $-3$. (If you doubt that, for example, $-3$ has remainder $2$ on division by $5$, note that $-3=(-1)(5)+2$. So the quotient when you divide $-3$ by $5$ is $-1$, and the remainder is $2$.)
We may not like $-3$ as an answer, because it is negative, and there is still a widespread prejudice against negative numbers. But if we add $35$ to $-3$, we do not change the remainder on division by $5$ or by $7$. So a positive answer is $32$.
Here is a more complicated puzzle you can solve in the same way. Find a positive number which has remainder $1$ on division by $2$, remainder $2$ on division by $3$, remainder $4$ on division by $5$, and remainder $6$ on division by $7$. We note that $-1$ works, apart from being regrettably not positive. But if we add $(2)(3)(5)(7)$ to $-1$, the remainders do not change. So an answer to this new problem is $209$.
Except in this sort of very special case, or when numbers are quite small, we need more general tools. In your case, the numbers are small, so we can start with $4$, which has the right remainder on division by $7$. Keep adding $7$ to this until we get something that has the right remainder on division by $5$.
For general tools, see the Wikipedia article on the Chinese Remainder Theorem, or any introductory book on Number Theory.