Alex spent 25% of his money on a sports drink. Then he spent 25% of the remaining money on trail mix. He has $9 left. How much money did Alex begin with?