Find the value of $\displaystyle m$ for which the following simultaneous equations have an infinite number of solutions:

$\displaystyle 3x+my=5$ and $\displaystyle (m+2)x+5y=m$

So I know that they both need to be the same equation, but I can't work out a process for solving these.

Thanks for your help