Each time Gertrude gets​ paid, 10​% of her pay check goes to taxes. Last​ week, ​$ 40 was taken out of her check for taxes. What was the amount of​ Gertrude's pay check last​ week?