To find out how many games Ahmadullah's basketball team played last season, we can use the equation provided:
\[ \frac{1}{3} g + 12 = 21 \]
- First, subtract 12 from both sides of the equation:
\[ \frac{1}{3} g = 21 - 12 \]
\[ \frac{1}{3} g = 9 \]
- Next, multiply both sides of the equation by 3 to solve for \( g \):
\[ g = 9 \times 3 \]
\[ g = 27 \]
So, the number of games they played last season was 27 games.