Solve for m 9(m+5)-3(m-2)=8m+31