For this question, the order of the paintings matter, so we can use generic permutation formula.
P = n!/(n-r)!
where: n= number of paintings r = number of paintings we are picking (in this case, we are selecting all paintings, as we are rearranging the paintings)