The ratio of the side length of Square P to the side length of Square Q is 2:7. If the side length of Square P is 3.5 inches, what is the perimeter of Square Q?