We can write
(987)16=(9×162)+(8×161)+(7×160)=(2439)10
We know this because we multiply each digit of 987 by 16 raised to the power of a digit starting with 0.
We multiply 9 with 16^2 and 8 with 16^1 and 7 with 16^0 as a result.
This gets us our answer of 2439.
Thanks! :)