You can
put this solution on YOUR website!a)
when the problem says "How many ways" it
is implying that order makes a difference
since the order you see is a different
"way" to hang them.
When order makes a difference, what you want
is the Permutation of n objects taken k
at a time.
In this problem it is 12 objects taken 5 at a time
which equals

b)
Now the problem wants to treat 1 picture diffently from the rest
It will always be in the middle of the group of 5
Imagine that you have thousands of rooms. Now imagine that you hang all the
possible arrangements of the other 11 pictures in groups of
4 in each of the rooms (You've got a huge warehouse full of pictures)
Imagine that you leave a space in the middle of each group of
4 to put Grandma's picture in later.
the number of rooms you need for a different arrangement
in each room is:

answer
Now just put Grandma's picture in all the empty middle spaces