A ball bearing at 22.0 Celsius is dropped into a cup containing 250.0 g of water at 20.0 Celsius. The water and ball bearing come to a temperature of 30.0 Celsius. What is the heat capacity of the ball bearing in J/Celsius?

How do I do this kind of question? I don't expect you to solve this, I just don't know the steps.