Acme Inc. spent $840 less on postage than on supplies. The ratio of postage costs to supply costs was 2 to 5. How much did Acme spend on postage? Solve this problem using algebra.