已知方程组x+2y=3m x-y=9m,得解满足5x+8y=38,求m的值