Point M is the midpoint of segment AB. If #AM = 50-3x# and #MB=-20+4x#, what is the value of #x#?