a 145g baseball is thrown up at 40 m/s. after traveling a distance of 50m in the air, the baseball is caught. the ball experienced air resistance of what magnitude?

One would need to know the angle it was thrown to estimate how much the distance was reduced by air friction.

Another way of estimating air resistance is to calculate the drag force (which requires the baseball's diameter)
Drag = (1/2) Cd*A*(air density)*V^2

Cd, the drag coefficient, is approximately 0.4 for a sphere, and

A = pi R^2

I don't think you are expected to know about that method.