Answer
$40$
Work Step by Step
According to the Multiplication Principle, if we have $p$ selections for the first choice, $q$ selections for the second choice, then we have $p\cdot q$ different ways of selections.
Hence here $p\cdot q=5\cdot8=40.$