The number of permutations in a word can be found with factorials.
There are 8 letters in the word calculus. Of these 8 letters, there are two C's, two L's, and two U's.
We'll set up a fraction to find the number of permutations. The factorial of 8 will be used in the numerator. To account for the sets of repeating letters, we'll use the factorial of how many repeating letters there are and use them in the denominator:
2 C's, 2 L's, 2 U's
There are 5040 different permutations of the word calculus.
There really isn't any distributing done, as the perimeter is the total length of the shape, and since this is a rectangle it has two two equal sides, 7+7=14 and 13+13=26, 14+26=40 inches