There is no character named "Mr. Brooks" in the novel. It's possible you are thinking of a different character or have a different novel in mind. Could you clarify your question? Perhaps you meant to ask:
* What did Becky do to Mr. Dobbins? (Mr. Dobbins was the teacher who was often the target of Tom and his friends' mischief)
* What did Becky do to the teacher? (This would refer to Mr. Dobbins)
Let me know if you have any other questions!