y=5Let's see how we got this answer in steps together:
1) Locate which number has a variable. 
This number will be used to divide the other number so we could find y. 
2) We will be dividing 40 by 8

 to find y. 

3) Since 40 divided by 8 is 5 our answer is y = 5