Answer
$120,\qquad 30,240$
Work Step by Step
Positions in basketball are often referred to as 1-5.
Order is important $\rightarrow$ we count permutations $P(n,r)=\displaystyle \frac{n!}{(n-r)!}$.
For r=5 players taken from n=5 players,
$P(5,5)=5!=120$
For r=5 players taken from n=10 players,
$P(10,5)=\displaystyle \frac{10!}{5!}=30,240$