Answer
$d(Q, S)=13$
Work Step by Step
RECALL:
The distance between the points Q and R on a number line, whose coordinates are q and r, respectively, is given by the formula:
$d(Q, R) = |q-r| \text{ or } d(Q, R) = |r-q|$
Use the formula above, with $q = -1$ and $s=12$, to obtain:
$d(Q, S)
\\=|12-(-1)|
\\=|12+1|
\\=|13|
\\=13$