Caleb purchased video games for $45 each. He bought $540 worth of video games.

If x is the number of video games, which equation can be used to find the total number of video games Caleb purchased?