Assuming that 100g of the compound is here, the answer follows:
87.4 g N *(1 mol N/14g N) = 6.24 mol N
6.24 mol N/ 6.24 = 1 mol N
12.6 g H *(1 mol H/1.01 g H) = 12.47 mol H
12.47 mol H / 6.24 = 2 mol H
Emperical formula = NH2
molecular formula: since we see that 1:2 ration
The compound is hydrazine, which is cool because that's actually used as rocket fuel. Also, it's used in air bags. If you've had one explode, you know the crappy smell (from the N2, it has an ammonia-like odor).
Hydrazine is a monopropellent, which is also useful because most rocket propellents need an oxidizer. Another cool thing about it, hydrazine does not need an ignition source. Most rocket fuels need to be ignited in order to burn. Using hydrazine as a propellant, you can fire the engine as needed, and then when you cut off the supply of hydrazine, the engine stops. If you turn on the hydrazine again, the engine starts. More hydrazine = more thrust. Less hydrazine gives less thrust. That makes hydrazine a nice propellant for thrusters and maneuvering jets.