Given the equation 5m−18=2m+6, which of the following equations has the same solution?
3m=−12
3m=24
7m=24
7m=−12