The correct option is A Vg<Vl<Vs
The speed of sound depends on two factors: elasticity and density. The more elastic a medium, the greater the speed. The more dense the medium the slower the speed of sound. For example steel is 6000 times more denser than air but 2,000,000 times more elastic than air, so sound travels 16 times faster in steel than in air.
More elasticity means a large bulk modulus, tension, pressure, or some other physical quantity that makes it more difficult to deform the medium. Density is just the inertial property that makes it difficult to accelerate the medium.
The speed of sound varies as the square root of the ratio of the "elastic properties" or "bulk properties". The more elastic a substance and the least dense, the faster the speed of sound in general. So the speed in increasing order is: Vgas<Vliquid<Vsolid.