The object is not moving, so the net force acting on it is zero.
The two given forces act in the same direction with a total magnitude of 2 N + 10 N = 12 N.
The third force acts counter to these with some magnitude F to give a net force of 0, so that by Newton's second law
F = 12 N