Jessica sold t-shirts at a festival. She made 3 for each t-shirt she sold. Her expenses were 27. If she made a profit of 51, how many t-shirts did she sell?

Let x be the number of t-shirts Jessica sold.

Her revenue from selling t-shirts is 3x (the profit she made on each t-shirt sold).

Her total profit is 3x - 27.

As given, her profit was 51.

Therefore, 3x - 27 = 51
3x = 78
x = 26

Jessica sold 26 t-shirts at the festival.