This looks like an academic question so...

For this type of problem, take the number of possible values and raise it to the power of the number of positions.

For this type of problem, take the number of possible values and raise it to the power of the number of positions.