Bethany is told to create an expression from $2 \square 0 \square 1 \square 7$ by putting a + in one box, a in another, and $a x$ in the remaining box. There are 6 ways in which she can do this. She calculates the value of each expression and obtains a maximum value of $M$ and a minimum value of $m$. What is $M-m$ ?