Let the number is "x"
Then, five times the number will be = 5x
And, two times the number will be = 2x
then, According to the question:
5x - 5 = 2x + 4
On transposing 2x to LHS and -5 to RHS,
5x - 2x = 5 + 4
3x = 9
x = 9/3
x = 3
Therefore the number is 3