We know the initial velocity of the golf ball and its mass, but we don't know the final velocitiesof either ball, and the trick to make these calculations go faster for an elastic collision is to use this equation, which says the initial velocity of one of the objects before the collision
Hoped this helped!