Solve the following real workd problem:

Ahmadullahs basketball team will play 21 games this season. that is 12 games more than 1/3 the number of games they played last season. How many games did they play last season?

Let's assume the number of games they played last season is "x".

According to the problem, Ahmadullah's basketball team will play 12 more games than 1/3 of the number of games they played last season.

So, the number of games they will play this season is: 1/3 * x + 12

Since they will play 21 games this season, we can set up the following equation: 1/3 * x + 12 = 21

To solve this equation, we need to isolate the variable x.

Subtract 12 from both sides of the equation: 1/3 * x = 9

To get rid of the fraction, we can multiply both sides of the equation by 3: 3 * (1/3 * x) = 3 * 9

This simplifies to: x = 27

Therefore, Ahmadullah's basketball team played 27 games last season.