Answer:
Since it is mentioned that the block is in equilibrium, this means the resultant force is zero, and all the forces cancel out each other.
You have to think it in a way so that, the forward force cancel out the backward force. Check the picture attached, on the forward side,
3N + 5N = 8N which cancel out the backward force of 8N