If sam spent 25% of his savings on a kite that coscost 20$ how much did sam hpave before he bought the kite 25×20=

what you mean is

.25x = 20
x = 80