equal moles of ethane and hydrogen are mixed in container at 25 c what will be the pressure exerted by hydreogen?

I don't believe there is enough information to answer that.

pH2 = XH2*Ptotal.
XH2 = 0.5 but you don't have a total pressure and I don't see a way to calculate it.