How do you solve the equation M=(b+c)/2?