¯¯¯¯¯¯

P
B
is a line segment on a number line. It has endpoints at

2
and 12. What is the coordinate of its midpoint?

(-2+12)/2 = 5