Candace used 5/8 of her savings to buy a $531.25 laptop.  How much did she have in savings before purchasing the laptop?