Answer: 7 units
=========================================================
Short explanation:
Plot the points (3,1) and (3,8). Note how they line up vertically. Count the number of vertical spaces between them and you should get 7 units. This only works if the points line up horizontally or vertically.
Or you could subtract the y coordinates to get 8-1 = 7, which is an alternative to graphing and counting the spaces. This is preferred if there is a very large gap.
----------------------------
Longer method:
Use the distance formula with (x1,y1) = (3,1) and (x2,y2) = (3,8)
![d = √((x_1 - x_2)^2 + (y_1 - y_2)^2)\\\\d = √((3-3)^2 + (1-8)^2)\\\\d = √((0)^2 + (-7)^2)\\\\d = √(0 + 49)\\\\d = √(49)\\\\d = 7\\\\](https://img.qammunity.org/2021/formulas/mathematics/middle-school/qjug4jwf88csu6ewhdkf2uetyjg01ikbgw.png)