If z varies inversely as w and z=10 when w=0.7, how do you find z when w=40?