First thing to note: Do not try to solve using algebra.
Now, notice that the solutions are 0-4. This means not many integers, so we can plug and test values. Notice that the factorial will increase more than the sum of two consecutive integers after a certain value -> 4+5=9, but 4!=24. Way bigger. So the values of X will be quite small
Notice also that no restrictions have been placed on X -> x may be negative or positive (there are no negative factorials, however since we have modulus x factorial, x may be negative)
Lets test values:
x=0 -> 0+1=0!
0!=1 by construction, so this is 1 solution.
x=1 -> 1+2=1! , no the sum is larger
x=2 -> 2+3=2!, no the sum is larger
x=3 -> 3+4=3!, no the sum larger
x=4 -> 4+5=4!, no the factorial is larger, and for any values of x bigger it will never be equal because of how quickly factorials grow.
Don't forget negatives:
x=-1 -> 1+0=1!, yes 2 solutions
x=-2 -> 2+1=2!, no the sum is larger
x=-3 -> 3+2=3!, no the sum is larger
x=-4 -> 4+3=4!, no the factorial is larger -> this is the end like in the positive case
We have a total of two solutions (x=-1, x=0) therefore the correct answer choice is C