First one, holding a basketball in the air. Potential energy is the energy it has mostly from gravity. The further you go from the center of mass, the more energy.

Actually Welcome to the concept of Efficiency.
Here we can see that, the Input work is given as 2.2 x 10^7 J and the efficiency is given as 22%
The efficiency is => 22% => 22/100.
so we get as,
E = W(output) /W(input)
hence, W(output) = E x W(input)
so we get as,
W(output) = (22/100) x 2.2 x 10^7
=> W(output) = 0.22 x 2.2 x 10^7 => 0.484 x 10^7
hence, W(output) = 4.84 x 10^6 J
The useful work done on the mass is 4.84 x 10^6 J
Hiii !!!
I am sending the soluction !!!
If you have any question, let me now =)
Jorge:)