Answer
$13$
Work Step by Step
The top number is $\text{
positive
}$ and the bottom number is $\text{
negative
.}$ Since the signs of the numbers are different, subtract the numbers and copy the sign of the bigger number. Hence, \begin{array}{r}\require{cancel}
31
\\\underline{\phantom{}
-18
}\\
13
\end{array}