Alex spent 25% of his money on a sports drink. then he spent 25% of the remaining money on trail mix. He had $9 left. how much did Alex have to begin with