Billy has a gift card with a $160 balance. He buys several video games that cost $40 each. After the purchases, his gift card balance is $40. Enter an equation to help find out how many video games Billy bought.