text: Use conservation of momentum to find the momentum of the pendulum after impact.  From the momentum you can find the energy of the pendulum (be sure to account for the change in mass!).  That kinetic energy become potential energy as the pendulum swings upward.  Use trigonometry to find the horizontal displacement from the vertical displacement.