Given
The mirror is concave.
The object is placed between the focal point and a concave mirror. From the sign convention, the object distance is taken as negative.
As the focal point is on the left side of the concave mirror, the focal length is also taken as negative from the sign convention.
Thus, the focal length must be negative so that the mirror formula can work.