Alexa put 10% of her weekly paycheck into a savings account. If she deposited $40 the first week, how much was her paycheck