You want to take a measurement of what you're writing to make sure it's long enough to hand in to your professor, when you realize it's the opposite of what you should be doing. You don't measure writing, you check things like word count and page numbers. Now it's going to be you versus the teacher on who determines how long this thing you're writing should be.
You let your nerves get the better of you and right when it's about to be you versus your professor, you hand him a new tie (たい). Is this also the opposite of what you should be doing? Probably, since it's bribery. But no one can say no to a tie, right?