Assuming that all energy of the small ball is transferred to the bigger ball upon impact, then we can say that:
Potential Energy of the small ball = Kinetic Energy of the bigger ball
Potential Energy = mass * gravity * height
Since the small ball start at 45 cm, then the height covered during the swinging movement is only:
height = 50 cm – 45 cm = 5 cm = 0.05 m
Calculating for Potential Energy, PE:
PE = 2 kg * 9.8 m / s^2 * 0.05 m = 0.98 J
Therefore, maximum kinetic energy of the bigger ball is:
Max KE = PE = 0.98 J