Two gas cylinders contain ethylene (ethene) and acetylene respectively. One test which can be used…