The guy on the left dropped and rolled
Had a friend do this at a party in high school. Put some gasoline on his pants and lit it....then was surprised that it went right through his pants and he wound up with pretty bad burns. He also dropped and rolled but that's a lot less effective when your ankles are on fire