Given the line L: (m ^ 2-2m-3) x + (2m ^ 2 + m-1) y = 2m-1, the intercept on X axis and Y axis is equal, find the value of M

Given the line L: (m ^ 2-2m-3) x + (2m ^ 2 + m-1) y = 2m-1, the intercept on X axis and Y axis is equal, find the value of M

According to the meaning of the title: M & # 178; - 2m-3 = 2m & # 178; + M-1
Then: M & # 178; + 3M + 2 = 0
(m+1)(m+2)=0
M = - 1 or M = - 2
When m = - 1, M & # 178; - 2m-3 = 2m & # 178; + M-1 = 1 + 2-3 = 0, there is no intercept, so m = - 1 is discarded
So m = - 2