Since Point M is the midpoint and Point A is a separate point, then that means that line segment AM=MB so the slope of line segment AM is 2/4 and therefore since M is the midpoint and because the distance of both line segments is equal, point B should be (2,5).