A sample of a compound contains 30.0 g C and 5.05 g H. Its molar mass is 78.12 g/mol. What is the compound’s molecular formula?

ACH

BC2H2

Please help... I have broken it down to these two and I really need help.