The total amount y (in dollars) in your savings account after buying x video games is represented by y=90-10x. You have $40 in your account after buying video games. How many video games did you buy?