## Precalculus: Mathematics for Calculus, 7th Edition

The easiest way to solve distance between two points on a straight line is to subtract the smaller value from the the larger one. In this case, subtract $(-2)$ from $3$. $3-(-2)$ is the same as $3+2$ which is $5$.