Pick two Pokémon and set them up as they would be in battle. The numbers follow the game's own battle engine, paralysis halving Speed included.
Pick both Pokémon to see who moves first.
A move with higher priority goes before any Speed check, and Trick Room does not change that. Speed only settles moves in the same priority bracket.