Answer:
The number of cards is 4.
The number of spot is 3.
=> The solution is permutation with n = 4, r = 3:
4P3 = 4!/(4 - 3)! = 4 x 3 x 2 = 24 ways.
=> Option D is correct.
Hope this helps!
:)