The perimeter of a square is 40 inches. What is the length of each of its sides?