need the answer showing work thank you.

Answer:
6 without repetition
27 with repetition
Step-by-step explanation:
without repetition, you have 3 digits to choose from initially, then only 2, then only one, i.e.:
3×2×1 = 6
with repetition, you have 3 digits to choose from for every spot:
3×3×3 = 27