If you are decorating a square mouse pad. You placed a colored sticker in each corner. If you had r different colors available, r to 4th power + 2 times r to third power, + 3 times r to the second power + 2 times r divided by 8. 2 patterns are different if you can not produce