Answer: First the epidermis, then the dermis, and then the hypodermis
Explanation: The skin has three layers, which are:
(1) The epidermis (the outer layer, which we see)
(2) Followed by the dermis, which is immediately below the epidermis.
(3) Lastly the hypodermis, the innermost layer.
When Corey steps on the tack, the tack will pierce through his foot from the outermost to the innermost layer i.e. in (1), (2) and (3) order.
Hence: (d) is correct.