Question 1001219
Call the number, x.  Then
40-5x=3x
Add 5x to both sides and get
40=8x
Now divide by 8 and get
x = 5