# Number Line Midpoint Calculator

__A line has an endpoint of 2 and a midpoint of 5. We need to calculate Point 2__`The formula for calculating endpoint 2 of a line given endpoint 1 and the midpoint is:`

Point 2 = (2 * Midpoint) - Point1

__Evaluating using our inputs of Midpoint = 5 and Point 1 = 2, we get:__Point 2 = (2 * 5) - 2

Point 2 = 10 - 2

Point 2 =

**8**