When you have two fractions equal to one another, the easiest thing is often to cross multiply. To do this, multiply the top of the left fraction by the bottom of the right fraction, and then multiply the bottom of the left fraction by the top of the right side and put them equal to eachother:
Knowing this, and some algebra, we can solve the question:
40*7= 280 You would put 280 over 320 280 ----- 320 Take off the zeros since they both have one. 28 --- 32 28/32 is your answer. If you need a simplified version your answer would be 7/8