Dear student
When ball is thrown vertically upward with velocity u. The weight w and air resistance force work downward so let the acceleration during motion is a and height covered by the ball is h then
Then ball fall from rest from height h and let the speed of the ball is v when it hit the ground. Now the air resistance is working on the ball upwards so net force on the ball is (w-f) and let the acceleration is a' so