This is a tough one. It's almost as if the results are from two different
cars. It's very difficult to say what would cause readings this high.
Without knowing what amount of CO (Carbon Monoxide) your Toyota produced, I
will assume your Toyota has a lean fuel mixture problem. It's the one
problem I can think of which would produce high HC due to a lean misfire in
one or more cylinders, and at the same time cause high NOx.
I have to recommend you get a hands-on diagnosis from a certified smog check
repair station to find out exactly what's causing your Toyota's smog
failure. Once they find out the real problem, you and the smog station will
be able to determine whether the fault/s could have occurred within 4500
miles. If it's determined the problem has been there for sometime, you may
want to get back in touch with the seller and find some recourse... By law
they are supposed to give you a passing and unexpired smog check certificate
at the time of sale.