Two forces act on a 5-kg object sitting on a frictionaless horizontal surface. One force is 30N in the +x- direction and the other 35N in the -x-direction. What is the acceleration of the object?

The net force is

F = -5 N which means 5 Newtons in the -x direction.

The acceleration is a = F/m

You know the mass, m. Do the calculation.