Step-by-step explanation:
The ball's horizontal velocity changes from vi to 0, so the acceleration is negative, meaning the force component must point to the left.
The ball's vertical velocity changes from 0 to vf, so the acceleration is positive, meaning the force component must point up.
So you're looking for a force that points to the left and up, where the horizontal component is greater than the vertical component.