In each case we will find the Kinetic energy and find its difference with total mechanical energy
As we know that
Potential Energy = Mechanical Energy - Kinetic Energy
so if object will have more potential energy then it will have more height
now for potential energy in each case
1. Kinetic energy is given as

now PE = 32 - 58.8 = -26.8 J[/tex]
2. Kinetic energy is given as

now PE = 34 - 4.8 = 29.2 J[/tex]
3. Kinetic energy is given as

now PE = 35 - 43.2 = -8.2 J[/tex]
4. Kinetic energy is given as

now PE = 31 - 10.8 = 20.2 J[/tex]
So here maximum potential energy in case 2
So maximum height will be in case 2