Answer:
a)

b)

Explanation:
Previous concepts
The rule of product or multiplication principle is a basic counting principle thats is used in order to find the number of ways to do anything. If we assume that we have a ways to do one thing and b ways to do other thing in total we have a*b to do both things.
Part a
For this case we can use the multiplication principle and in order to find the number of ways that we can order the cars in order to construc the train would be:

Part b
For this case we want that the boxcars would be in order from 1 to 27 and thats 1 of the possibility out of the
others so then the probability would be given by:
