The speed of a mechanical wave depends on the mechanical properties
of the medium through which the wave is traveling.
The speed of an electromagnetic wave depends on the electrical properties
of the medium through which the wave is traveling.
It's pretty well unanimous for choice A .