Pound for pound the 940MX is the budget way to go....for the latest low end chip. This tells me that at that point if an alternative is available like an 870m. "last years" higher end is usually cheaper and better than "this years" budget card.
GeForce GTX 960M vs 940MX
Tips for buying notebook with decent graphics (Summer 2016 edition)