40:(-1/8):3 1/5:(-7 1/7)
40/(-1/8)/3 1/5/(-7 1/7)=(-320)/16/5/(-50/7)=(-320*5/16)/(-50/7)=-100/(-50/7)=100*7/50=14