Both the sentence and the answers are just off beam. As you suggest, there are two possible structures:
A: How did you find your missing pen?
B: Wow, quite by chance!
A: How do you find your pen?
B: Wow, it works well.
- For Teachers