Sam's rectangle had 2 sides that were 7 inches long and 2 sides that were 8 inches long. What is the perimter?