Ashraf attends a local festival, which has an entrance fee. Each game costs
$2$
2​
two
dollars to play. After playing
$2$
2​
two
games, Ashraf has spent
$7$
7​
seven
dollars.

Determine the equation, in slope-intercept form, of the line that represents the amount of money spent after playing