So the basic idea with air resistance is that an object will continue accelerating downward due to the gravitational force mg until air resistance counters the downward acceleration with an equal and opposite force. If Object A has a mass of 25 kg and Object B has a mass of 5 kg, the gravitational force for A will be 25*10 = 250 N, while on B it will be 5*10 = 50 N. Object A will continue accelerating until air resistance pushes back with 250 N of force, while Object B will fall until air resistance pushes back with 50 N of force. Therefore, A will be accelerating for a longer amount of time, causing it to have a greater terminal velocity than B.