If you think of it as unit conversions like this:
You can see that multiplying the x, n, and t together results in "toys" as the resulting unit ("hours" cancels "hours" and "elves" cancels "elf" resulting in units of "toys").
So the equation would be (x)(n)(t) = 1000