If it's not what You are looking for type in the equation solver your own equation and let us solve it.
k in (-oo:+oo)
2*k+4*k+2 = -40 // + 40
2*k+4*k+2+40 = 0
6*k+42 = 0 // - 42
6*k = -42 // : 6
k = -42/6
k = -7
k = -7
| 5+n-3n=17 | | n-2-3n=0 | | -2=6t+7t-2 | | -4-2m+6m=40 | | 3(5x-4)=8x-2 | | 5d-4+6d=-70 | | 4=-7k+5k+2 | | -4-7n+n=32 | | -3m-7+5m=9 | | 86=7b+5b-10 | | w+8-4w=26 | | 10+6x+5x=109 | | -2w+10-3w=10 | | -6x-8+x=-28 | | 3b+3-2b=-6 | | -5d+6-3d=-58 | | 9-b+6b=44 | | 7=-w+4w+7 | | -30=-7w+2w-10 | | 54=5x+x+6 | | 2+4d-5d=1 | | -11=-3w+2w-4 | | 1+5d-6d=-2 | | -7+t+5t=-73 | | 3k-1-4k=1 | | -5d+9+4d=0 | | 8+b+2b=20 | | 8-7a-2a=-46 | | 9=-6a+a-1 | | -6t-4-2t=-20 | | 12=4m-m+6 | | -2t+10+5t=28 |