A mechanical wave is traveling through medium A. When the wave enters medium B, it speeds up. Which of these statements could be true about medium A and medium B?