Question: The table shows the number of arcade games ($g$) Hakim played compared to the total amount he spent ($s$), in dollars. Write an equation to represent the relationship, and find the number of games Hakim played if he spent $30 at the arcade.
1. **State the problem:** We need to find an equation relating the number of games $g$ Hakim played to the amount of money $s$ he spent, and then find $g$ when $s=30$.
2. **Assume a linear relationship:** Usually, the total amount spent $s$ is proportional to the number of games $g$. So, we can write:
$$s = p \times g$$
where $p$ is the price per game.
3. **Find the price per game $p$:** Since the table is not explicitly given, we assume the price per game is constant. For example, if Hakim spent $s_1$ dollars for $g_1$ games, then:
$$p = \frac{s_1}{g_1}$$
4. **Write the equation:**
$$s = p \times g$$
or equivalently,
$$g = \frac{s}{p}$$
5. **Find $g$ when $s=30$:**
$$g = \frac{30}{p}$$
6. **Example:** If the price per game is $2$ dollars, then:
$$g = \frac{30}{2} = 15$$
So, Hakim played 15 games if he spent 30 dollars.
**Final answer:** The equation is $$s = p \times g$$ and the number of games played when $s=30$ is $$g = \frac{30}{p}$$. If $p=2$, then $g=15$.