Always before emissions tests run at least one tank of gas with TECHRON added. Change the oil. If the car is misfiring at all--fix that problem first no way it will pass. Run the car HARD for an hour or so to really 'exercise' the catalyst and spark plugs, and arrive for the test HOT. This also helps the O2 sensor out. It if is bad or weak, you will get this type of bad emissions numbers. The mixture to the catalyst has to be kept just right for it to work.
Your car results are not encouraging the NOx is way high which indicates either plugged exhaust recirculation passages/valve or catalyst that is dead. The hydrocarbons are also high but that can be caused by dirty oil.
Change the air filter also.