Let's break it down quick
since (8*5) is in parenthesis, you have to do it first which would equal 40. 10*2=20*8 is 160. Since there is a negative in between that and 3*40 you must solve 3*40 first, which equals 120. Now,
160-120= 40
The answer to the question is 40.